Class VarianceAggregateFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.variance.VarianceAggregateFactory
-
- All Implemented Interfaces:
AggregateFunctionFactory
@Experimental public class VarianceAggregateFactory extends Object implements AggregateFunctionFactory
AggregateFunctionFactoryimplementation that providesAggregateFunctionused for processing sample variance.- Author:
- Tomas Kovachev t.kovachev1996@gmail.com
-
-
Constructor Summary
Constructors Constructor Description VarianceAggregateFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateFunctionbuildFunction(Function<BindingSet,Value> evaluationStep)Builds an aggregate function with input evaluation stepAggregateCollectorgetCollector()StringgetIri()
-
-
-
Method Detail
-
getIri
public String getIri()
- Specified by:
getIriin interfaceAggregateFunctionFactory- Returns:
- the identifier associated with given function
-
buildFunction
public AggregateFunction buildFunction(Function<BindingSet,Value> evaluationStep)
Description copied from interface:AggregateFunctionFactoryBuilds an aggregate function with input evaluation step- Specified by:
buildFunctionin interfaceAggregateFunctionFactory- Parameters:
evaluationStep- used to process values from an iterator's binding set- Returns:
- an aggregate function evaluator
-
getCollector
public AggregateCollector getCollector()
- Specified by:
getCollectorin interfaceAggregateFunctionFactory- Returns:
- result collector associated with given function type
-
-