Class QueryableDateTimeGroupDescription
Represents a group descriptor, which can group by date time values.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Queryable
Assembly: Telerik.Pivot.DataProviders.Queryable.dll
Syntax
public sealed class QueryableDateTimeGroupDescription : QueryablePropertyGroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IGroupDescription, IDescriptionBase, ISortableGroupDescription, INamed, IEditable, IDescriptionsReferencing, IGrandTotalSupport, IInitializeDescription, ILabelGroupFilterHost, IValueGroupFilterHost, IGroupsCountFilterHost, IGroupsPercentFilterHost, IGroupsSumFilterHost, IFilteringDescription, IDistinctValuesDescription, IConditionFactory, IFilterOperatorsProvider
Constructors
QueryableDateTimeGroupDescription()
Initializes a new instance of the QueryableDateTimeGroupDescription class.
Declaration
public QueryableDateTimeGroupDescription()
Properties
NeedsProcessing
Gets a value indicating whether grouped data should be processed before handing it over to the engine.
Declaration
protected override bool NeedsProcessing { get; }
Property Value
System.Boolean
|
Overrides
Step
Gets or sets the step of the grouping.
Declaration
public DateTimeStep Step { get; set; }
Property Value
DateTimeStep
|
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable
source
The object to clone. |
Overrides
Remarks
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
CreateGroupKeyExpression(IEnumerable<Expression>)
Creates the group key expression.
Declaration
protected override Expression CreateGroupKeyExpression(IEnumerable<Expression> valueExpressions)
Parameters
System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>
valueExpressions
Value expressions used for generating group key. |
Returns
System.Linq.Expressions.Expression
Expression that creates group key for the given item. |
Overrides
CreateGroupKeyValuesExpressions(ParameterExpression)
Creates value expressions for values that will be used for generating group key expression.
Declaration
protected override IEnumerable<Expression> CreateGroupKeyValuesExpressions(ParameterExpression itemExpression)
Parameters
System.Linq.Expressions.ParameterExpression
itemExpression
The parameter expression, which will be used for grouping. |
Returns
System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>
Value expressions. |
Overrides
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Cloneable derived class.
Declaration
protected override Cloneable CreateInstanceCore()
Returns
Cloneable
New instance for cloning. |
Overrides
Remarks
Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.
GetAllNames(IEnumerable<Object>, IEnumerable<Object>)
Returns all possible group keys for this instance.
Declaration
protected override IEnumerable<object> GetAllNames(IEnumerable<object> uniqueNames, IEnumerable<object> parentGroupNames)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
uniqueNames
Enumeration of all unique group keys that were discovered after grouping. |
System.Collections.Generic.IEnumerable<System.Object>
parentGroupNames
Enumeration of all parent groups. |
Returns
System.Collections.Generic.IEnumerable<System.Object>
Returns all possible group keys for this instance. |
Overrides
GetUniqueName()
Returns the member name for this description.
Declaration
public override string GetUniqueName()
Returns
System.String
|