Show / Hide Table of Contents

Class GroupByExpression

Represents a Grouping on a given Expression.
Inheritance
System.Object
BaseGroupBy
GroupByExpression
Implements
ISparqlGroupBy
Inherited Members
BaseGroupBy._child
BaseGroupBy.Child
BaseGroupBy.AssignVariable
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 Source

GroupByExpression(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 Source

Expression

Gets the Expression used to GROUP BY.
Declaration
public override ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
Overrides
BaseGroupBy.Expression
| Improve this Doc View Source

ProjectableVariables

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
BaseGroupBy.ProjectableVariables
| Improve this Doc View Source

Variables

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
BaseGroupBy.Variables

Methods

| Improve this Doc View Source

Apply(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
BaseGroupBy.Apply(SparqlEvaluationContext)
| Improve this Doc View Source

Apply(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
BaseGroupBy.Apply(SparqlEvaluationContext, List<BindingGroup>)
| Improve this Doc View Source

ToString()

Gets the String representation of the GROUP BY.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Implements

ISparqlGroupBy

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • GroupByExpression(ISparqlExpression)
  • Properties
    • Expression
    • ProjectableVariables
    • Variables
  • Methods
    • Apply(SparqlEvaluationContext)
    • Apply(SparqlEvaluationContext, List<BindingGroup>)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX