Show / Hide Table of Contents

Interface ISparqlAggregate

Interface for SPARQL Aggregates which can be used to calculate aggregates over Results.

Namespace: VDS.RDF.Query.Aggregates
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlAggregate

Properties

| Edit this page View Source

Arguments

Gets the Arguments of the Aggregate.

Declaration
IEnumerable<ISparqlExpression> Arguments { get; }
Property Value
Type Description
IEnumerable<ISparqlExpression>
| Edit this page View Source

Expression

Gets the Expression that the Aggregate is applied to.

Declaration
ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
| Edit this page View Source

Functor

Gets the URI/Keyword of the Aggregate.

Declaration
string Functor { get; }
Property Value
Type Description
string
| Edit this page View Source

Type

Gets the Type of the Aggregate.

Declaration
SparqlExpressionType Type { get; }
Property Value
Type Description
SparqlExpressionType

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

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • Arguments
    • Expression
    • Functor
    • Type
  • Methods
    • Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)
  • Extension Methods
Back to top Generated by DocFX