Class GroupByExpression
Represents a Grouping on a given Expression.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Grouping
Assembly: dotNetRDF.dll
Syntax
public class GroupByExpression : BaseGroupBy, ISparqlGroupBy
Constructors
| Improve this Doc View SourceGroupByExpression(ISparqlExpression)
Creates a new Group By which groups by a given Expression.
Declaration
public GroupByExpression(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
Properties
| Improve this Doc View SourceExpression
Gets the Expression used to GROUP BY.
Declaration
public override ISparqlExpression Expression { get; }
Property Value
Type | Description |
---|---|
ISparqlExpression |
Overrides
| Improve this Doc View SourceProjectableVariables
Gets the Projectable Variables used in the GROUP BY i.e. Variables that are grouped upon and Assigned Variables.
Declaration
public override IEnumerable<string> ProjectableVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Overrides
| Improve this Doc View SourceVariables
Gets the Fixed Variables used in the Grouping.
Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Overrides
Methods
| Improve this Doc View SourceApply(SparqlEvaluationContext)
Applies a Grouping on a given Expression to the Binder.
Declaration
public override List<BindingGroup> Apply(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<BindingGroup> |
Overrides
| Improve this Doc View SourceApply(SparqlEvaluationContext, List<BindingGroup>)
Applies a Grouping on a given Variable to the Binder Groups from a previous Grouping.
Declaration
public override List<BindingGroup> Apply(SparqlEvaluationContext context, List<BindingGroup> groups)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Collections.Generic.List<BindingGroup> | groups | Binder Group to subgroup. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<BindingGroup> |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the GROUP BY.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()