Interface AggregateFunctionFactory
-
- All Known Implementing Classes:
PopulationStandardDeviationAggregateFactory,PopulationVarianceAggregateFactory,StandardDeviationAggregateFactory,VarianceAggregateFactory
@Experimental public interface AggregateFunctionFactory
Factory for a registeredAggregateFunctionthat is evaluated in the same fashion as standard aggregate functions e.g.Sum&Count
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregateFunctionbuildFunction(java.util.function.Function<BindingSet,Value> evaluationStep)Builds an aggregate function with input evaluation stepAggregateCollectorgetCollector()java.lang.StringgetIri()
-
-
-
Method Detail
-
getIri
java.lang.String getIri()
- Returns:
- the identifier associated with given function
-
buildFunction
AggregateFunction buildFunction(java.util.function.Function<BindingSet,Value> evaluationStep)
Builds an aggregate function with input evaluation step- Parameters:
evaluationStep- used to process values from an iterator's binding set- Returns:
- an aggregate function evaluator
-
getCollector
AggregateCollector getCollector()
- Returns:
- result collector associated with given function type
-
-