Show / Hide Table of Contents

Class StringJoinAggregate

Represents the XPath fn:string-join() aggregate.

Inheritance
object
BaseAggregate
StringJoinAggregate
GroupConcatAggregate
Implements
ISparqlAggregate
Inherited Members
BaseAggregate._expr
BaseAggregate._distinct
BaseAggregate.Expression
BaseAggregate.Distinct
BaseAggregate.Type
BaseAggregate.Arguments
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Aggregates.XPath
Assembly: dotNetRdf.dll
Syntax
public class StringJoinAggregate : BaseAggregate, ISparqlAggregate

Constructors

| Edit this page View Source

StringJoinAggregate(ISparqlExpression)

Creates a new XPath String Join aggregate which uses no separator.

Declaration
public StringJoinAggregate(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr

Expression.

| Edit this page View Source

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

| Edit this page View Source

_sep

Separator Expression.

Declaration
protected ISparqlExpression _sep
Field Value
Type Description
ISparqlExpression

Properties

| Edit this page View Source

Functor

Gets the Functor of the Expression.

Declaration
public override string Functor { get; }
Property Value
Type Description
string
Overrides
BaseAggregate.Functor
| Edit this page View Source

SeparatorExpression

An expression whose value is the string to use to join the values passed into this aggregation.

Declaration
public ISparqlExpression SeparatorExpression { get; }
Property Value
Type Description
ISparqlExpression

Methods

| Edit this page View Source

Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)

Called when the aggregate is visited during algebra processing.

Declaration
public override TResult Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding> processor, TContext context, IEnumerable<TBinding> bindings)
Parameters
Type Name Description
ISparqlAggregateProcessor<TResult, TContext, TBinding> processor

The processor that handles this algebra.

TContext context

The current context.

IEnumerable<TBinding> bindings

The current set of bindings.

Returns
Type Description
TResult

The result of the aggregate processing.

Type Parameters
Name Description
TResult

The type of result object returned by the processor.

TContext

The type of the context object to be passed to the processor.

TBinding

The type of the binding objects to be passed to the processor.

Overrides
BaseAggregate.Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)
| Edit this page View Source

ToString()

Gets the String representation of the function.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
BaseAggregate.ToString()

Implements

ISparqlAggregate

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • StringJoinAggregate(ISparqlExpression)
    • StringJoinAggregate(ISparqlExpression, ISparqlExpression)
  • Fields
    • _sep
  • Properties
    • Functor
    • SeparatorExpression
  • Methods
    • Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX