Class AggregateFunction<T extends AggregateCollector,D>
- java.lang.Object
-
- org.eclipse.rdf4j.query.parser.sparql.aggregate.AggregateFunction<T,D>
-
- Type Parameters:
T
-D
-
- Direct Known Subclasses:
GroupIterator.AvgAggregate
,GroupIterator.ConcatAggregate
,GroupIterator.CountAggregate
,GroupIterator.MaxAggregate
,GroupIterator.MinAggregate
,GroupIterator.SampleAggregate
,GroupIterator.SumAggregate
,GroupIterator.WildCardCountAggregate
,StatisticalAggregateFunction
@Experimental public abstract class AggregateFunction<T extends AggregateCollector,D> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Function<BindingSet,Value>
evaluationStep
-
Constructor Summary
Constructors Constructor Description AggregateFunction(java.util.function.Function<BindingSet,Value> evaluationStep)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Value
evaluate(BindingSet s)
abstract void
processAggregate(BindingSet bindingSet, java.util.function.Predicate<D> distinctValue, T agv)
-
-
-
Field Detail
-
evaluationStep
protected final java.util.function.Function<BindingSet,Value> evaluationStep
-
-
Constructor Detail
-
AggregateFunction
public AggregateFunction(java.util.function.Function<BindingSet,Value> evaluationStep)
-
-
Method Detail
-
processAggregate
public abstract void processAggregate(BindingSet bindingSet, java.util.function.Predicate<D> distinctValue, T agv) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
evaluate
protected Value evaluate(BindingSet s) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
-