Interface AggregateFunctionFactory


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

      • getIri

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

        AggregateFunction buildFunction​(Function<BindingSet,​org.eclipse.rdf4j.model.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