Interface AggregateNAryFunctionFactory


@Experimental public interface AggregateNAryFunctionFactory
Factory for a registered AggregateNAryFunction that is evaluated over multiple arguments.
Author:
Nik Kozlov
  • Method Details

    • getIri

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

      default int getMinNumberOfArguments()
      Lower bound for accepted number of aggregate arguments.
      Returns:
      minimum accepted number of arguments
    • getMaxNumberOfArguments

      default int getMaxNumberOfArguments()
      Upper bound for accepted number of aggregate arguments.
      Returns:
      maximum accepted number of arguments
    • buildFunction

      AggregateNAryFunction buildFunction(BiFunction<Integer,BindingSet,Value> evaluationStepByIndex)
      Builds an aggregate function with input evaluation step
      Parameters:
      evaluationStepByIndex - 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