Class BaseGroupBy
Abstract Base Class for classes representing Sparql GROUP BY clauses.
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)
System.Object.ToString()
Namespace: VDS.RDF.Query.Grouping
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseGroupBy : ISparqlGroupBy
Fields
| Improve this Doc View Source_child
Child Grouping.
Declaration
protected ISparqlGroupBy _child
Field Value
Type | Description |
---|---|
ISparqlGroupBy |
Properties
| Improve this Doc View SourceAssignVariable
Gets/Sets the Variable that the grouped upon value should be assigned to.
Declaration
public string AssignVariable { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Child
Gets/Sets the Child GROUP BY Clause.
Declaration
public ISparqlGroupBy Child { get; set; }
Property Value
Type | Description |
---|---|
ISparqlGroupBy |
Expression
Gets the Expression used to GROUP BY.
Declaration
public abstract ISparqlExpression Expression { get; }
Property Value
Type | Description |
---|---|
ISparqlExpression |
ProjectableVariables
Gets the Projectable Variables used in the GROUP BY i.e. Variables that are grouped upon and Assigned Variables.
Declaration
public abstract IEnumerable<string> ProjectableVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Variables
Gets the Variables involved in this Group By.
Declaration
public abstract IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Methods
| Improve this Doc View SourceApply(SparqlEvaluationContext)
Applies the Grouping to the Binder.
Declaration
public abstract List<BindingGroup> Apply(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<BindingGroup> |
Apply(SparqlEvaluationContext, List<BindingGroup>)
Applies the Grouping to the Binder subdividing Groups from a previous Grouping.
Declaration
public abstract List<BindingGroup> Apply(SparqlEvaluationContext context, List<BindingGroup> groups)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Collections.Generic.List<BindingGroup> | groups | Groups to subdivide. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<BindingGroup> |