Class GroupByVariable
Represents a Grouping on a given Variable.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Grouping
Assembly: dotNetRdf.dll
Syntax
public class GroupByVariable : BaseGroupBy, ISparqlGroupBy
Constructors
| Edit this page View SourceGroupByVariable(string)
Creates a new Group By which groups by a given Variable.
Declaration
public GroupByVariable(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Variable Name. |
GroupByVariable(string, string)
Creates a new Group By which groups by a given Variable and assigns to another variable.
Declaration
public GroupByVariable(string name, string assignVariable)
Parameters
Type | Name | Description |
---|---|---|
string | name | Variable Name. |
string | assignVariable | Assign Variable. |
Properties
| Edit this page View SourceExpression
Gets the Variable Expression Term used by this GROUP BY.
Declaration
public override ISparqlExpression Expression { get; }
Property Value
Type | Description |
---|---|
ISparqlExpression |
Overrides
| Edit this page 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 |
---|---|
IEnumerable<string> |
Overrides
| Edit this page View SourceVariables
Gets the Variables used in the GROUP BY.
Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Overrides
Methods
| Edit this page View SourceToString()
Gets the String representation of the GROUP BY.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |