Interface AggregateNAryFunctionFactory
Factory for a registered
AggregateNAryFunction that is evaluated over multiple arguments.- Author:
- Nik Kozlov
-
Method Summary
Modifier and TypeMethodDescriptionbuildFunction(BiFunction<Integer, BindingSet, Value> evaluationStepByIndex) Builds an aggregate function with input evaluation stepgetIri()default intUpper bound for accepted number of aggregate arguments.default intLower bound for accepted number of aggregate arguments.
-
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
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
-