Class GroupConcatAggregate
Class representing GROUP_CONCAT Aggregate.
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.Aggregates.Sparql
Assembly: dotNetRDF.dll
Syntax
public class GroupConcatAggregate : StringJoinAggregate, ISparqlAggregate
Constructors
| Improve this Doc View SourceGroupConcatAggregate(ISparqlExpression)
Creates a new GROUP_CONCAT aggregate.
Declaration
public GroupConcatAggregate(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
GroupConcatAggregate(ISparqlExpression, Boolean)
Creates a new GROUP_CONCAT aggregate.
Declaration
public GroupConcatAggregate(ISparqlExpression expr, bool distinct)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
System.Boolean | distinct | Should a distinct modifer be applied. |
GroupConcatAggregate(ISparqlExpression, ISparqlExpression)
Creates a new GROUP_CONCAT aggregate.
Declaration
public GroupConcatAggregate(ISparqlExpression expr, ISparqlExpression sepExpr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
ISparqlExpression | sepExpr | Separator Expression. |
GroupConcatAggregate(ISparqlExpression, ISparqlExpression, Boolean)
Creates a new GROUP_CONCAT aggregate.
Declaration
public GroupConcatAggregate(ISparqlExpression expr, ISparqlExpression sepExpr, bool distinct)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
ISparqlExpression | sepExpr | Separator Expression. |
System.Boolean | distinct | Should a distinct modifer be applied. |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Aggregate.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceApply(SparqlEvaluationContext, IEnumerable<Int32>)
Applies the aggregate over the given bindings.
Declaration
public override IValuedNode Apply(SparqlEvaluationContext context, IEnumerable<int> bindingIDs)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Collections.Generic.IEnumerable<System.Int32> | bindingIDs | Binding IDs. |
Returns
Type | Description |
---|---|
IValuedNode |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the Aggregate.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceValueInternal(SparqlEvaluationContext, Int32)
Gets the value of the aggregate for the given binding.
Declaration
protected override string ValueInternal(SparqlEvaluationContext context, int bindingID)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Int32 | bindingID | Binding ID. |
Returns
Type | Description |
---|---|
System.String |