Interface ISparqlAggregateProcessor<TResult, TContext, TBinding>
The interface to be implemented by a processor for the SPARQL aggregate operations.
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlAggregateProcessor<out TResult, in TContext, in TBinding>
Type Parameters
Name |
Description |
TResult |
The type of result returned by a process method.
|
TContext |
The type of the context object provided to a process method.
|
TBinding |
The type of a the variable bindings provided to a process method.
|
Methods
|
Edit this page
View Source
ProcessAll(AllAggregate, TContext, IEnumerable<TBinding>)
Return true if the inner expression is true for all bindings, false otherwise.
Declaration
TResult ProcessAll(AllAggregate all, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessAny(AnyAggregate, TContext, IEnumerable<TBinding>)
Return true if the inner expression is true for at least one binding, false otherwise.
Declaration
TResult ProcessAny(AnyAggregate any, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessAverage(AverageAggregate, TContext, IEnumerable<TBinding>)
Return the average over the aggregated values.
Declaration
TResult ProcessAverage(AverageAggregate average, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessCount(CountAggregate, TContext, IEnumerable<TBinding>)
Return the count of the aggregated values.
Declaration
TResult ProcessCount(CountAggregate count, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessCountAll(CountAllAggregate, TContext, IEnumerable<TBinding>)
Return the count of the number of bindings.
Declaration
TResult ProcessCountAll(CountAllAggregate countAll, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessCountAllDistinct(CountAllDistinctAggregate, TContext, IEnumerable<TBinding>)
Return the count of the number of unique bindings.
Declaration
TResult ProcessCountAllDistinct(CountAllDistinctAggregate countAllDistinct, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessCountDistinct(CountDistinctAggregate, TContext, IEnumerable<TBinding>)
Return the count of distinct values in the aggregation.
Declaration
TResult ProcessCountDistinct(CountDistinctAggregate countDistinct, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessGroupConcat(GroupConcatAggregate, TContext, IEnumerable<TBinding>)
Return the grouped concatenation of the bindings.
Declaration
TResult ProcessGroupConcat(GroupConcatAggregate groupConcat, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessMax(MaxAggregate, TContext, IEnumerable<TBinding>)
Return the highest value in the aggregation.
Declaration
TResult ProcessMax(MaxAggregate max, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
Return the median of the values returned by the inner expression.
Declaration
TResult ProcessMedian(MedianAggregate median, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessMin(MinAggregate, TContext, IEnumerable<TBinding>)
Return the lowest value in the aggregation.
Declaration
TResult ProcessMin(MinAggregate min, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessMode(ModeAggregate, TContext, IEnumerable<TBinding>)
Return the mathematical mode of the values returned by the inner expression.
Declaration
TResult ProcessMode(ModeAggregate mode, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessNone(NoneAggregate, TContext, IEnumerable<TBinding>)
Return true if the inner expression returns false for all bindings, false otherwise.
Declaration
TResult ProcessNone(NoneAggregate none, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessNumericMax(NumericMaxAggregate, TContext, IEnumerable<TBinding>)
Convert the result of the inner expression to a numeric value and return the lowest value returned from all bindings.
Declaration
TResult ProcessNumericMax(NumericMaxAggregate numericMax, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessNumericMin(NumericMinAggregate, TContext, IEnumerable<TBinding>)
Convert the result of the inner expression to a numeric value and return the highest value returned from all bindings.
Declaration
TResult ProcessNumericMin(NumericMinAggregate numericMin, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessSample(SampleAggregate, TContext, IEnumerable<TBinding>)
Return a sample value from the aggregation.
Declaration
TResult ProcessSample(SampleAggregate sample, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessStringJoin(StringJoinAggregate, TContext, IEnumerable<TBinding>)
Return the string concatenation of the aggregated values.
Declaration
TResult ProcessStringJoin(StringJoinAggregate stringJoin, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
ProcessSum(SumAggregate, TContext, IEnumerable<TBinding>)
Return the sum of the aggregated values.
Declaration
TResult ProcessSum(SumAggregate sum, TContext context, IEnumerable<in TBinding> bindings)
Parameters
Returns
Extension Methods