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:
StatisticalAggregateFunction
@Experimental public abstract class AggregateFunction<T extends AggregateCollector,D> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Function<BindingSet,Value>
evaluationStep
-
Constructor Summary
Constructors Constructor Description AggregateFunction(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, Predicate<D> distinctValue, T agv)
-
-
-
Field Detail
-
evaluationStep
protected final Function<BindingSet,Value> evaluationStep
-
-
Constructor Detail
-
AggregateFunction
public AggregateFunction(Function<BindingSet,Value> evaluationStep)
-
-
Method Detail
-
processAggregate
public abstract void processAggregate(BindingSet bindingSet, Predicate<D> distinctValue, T agv) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
evaluate
protected Value evaluate(BindingSet s) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
-