Interface AggregateFunctionFactory

All Known Implementing Classes:
PopulationStandardDeviationAggregateFactory, PopulationVarianceAggregateFactory, StandardDeviationAggregateFactory, VarianceAggregateFactory

@Experimental public interface AggregateFunctionFactory
Factory for a registered AggregateFunction that is evaluated in the same fashion as standard aggregate functions e.g.Sum invalid input: '&' Count
Author:
Tomas Kovachev t.kovachev1996@gmail.com
  • Method Details

    • getIri

      String getIri()
      Returns:
      the identifier associated with given function
    • buildFunction

      AggregateFunction buildFunction(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