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

| Improve this Doc View Source

Arguments

Gets the Arguments of the Aggregate.
Declaration
IEnumerable<ISparqlExpression> Arguments { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ISparqlExpression>
| Improve this Doc View Source

Expression

Gets the Expression that the Aggregate is applied to.
Declaration
ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
| Improve this Doc View Source

Functor

Gets the URI/Keyword of the Aggregate.
Declaration
string Functor { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

Gets the Type of the Aggregate.
Declaration
SparqlExpressionType Type { get; }
Property Value
Type Description
SparqlExpressionType

Methods

| Improve this Doc View Source

Apply(SparqlEvaluationContext)

Applies the Aggregate to the Result Binder and returns a single Node as a Result.
Declaration
IValuedNode Apply(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
Returns
Type Description
IValuedNode
| Improve this Doc View Source

Apply(SparqlEvaluationContext, IEnumerable<Int32>)

Applies the Aggregate to the Result Binder and returns a single Node as a Result.
Declaration
IValuedNode Apply(SparqlEvaluationContext context, IEnumerable<int> bindingIDs)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Collections.Generic.IEnumerable<System.Int32> bindingIDs Enumerable of Binding IDs which the aggregate is applied over.
Returns
Type Description
IValuedNode

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Arguments
    • Expression
    • Functor
    • Type
  • Methods
    • Apply(SparqlEvaluationContext)
    • Apply(SparqlEvaluationContext, IEnumerable<Int32>)
  • Extension Methods
Back to top Generated by DocFX