Class StringJoinAggregate
Represents the XPath fn:string-join() 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.XPath
Assembly: dotNetRDF.dll
Syntax
public class StringJoinAggregate : BaseAggregate, ISparqlAggregate
Constructors
| Improve this Doc View SourceStringJoinAggregate(ISparqlExpression)
Creates a new XPath String Join aggregate which uses no separator.
Declaration
public StringJoinAggregate(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
StringJoinAggregate(ISparqlExpression, ISparqlExpression)
Creates a new XPath String Join aggregate.
Declaration
public StringJoinAggregate(ISparqlExpression expr, ISparqlExpression sep)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
ISparqlExpression | sep | Separator Expression. |
Fields
| Improve this Doc View Source_sep
Separator Expression.
Declaration
protected ISparqlExpression _sep
Field Value
Type | Description |
---|---|
ISparqlExpression |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Expression.
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 in the given Context over the given Binding IDs.
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 function.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceValueInternal(SparqlEvaluationContext, Int32)
Gets the value of a member of the Group for concatenating as part of the result for the Group.
Declaration
protected virtual string ValueInternal(SparqlEvaluationContext context, int bindingID)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
System.Int32 | bindingID | Binding ID. |
Returns
Type | Description |
---|---|
System.String |