-
- All Known Implementing Classes:
InputMappedFactory,MappedEvaluatorFactory,ReflectiveFactory,ResultMappedFactory
public interface EvaluatorFactoryA factory used to construct evaluators forScalarValuedFunctions. A number of implementations are provided which cover common use cases.An
EvaluatorFactoryis used as part of a function description to provide a mechanism for creating evaluators for associated function instances. Because descriptions are serialized within the framework, implementations ofEvaluatorFactorymust also be serializable as JSON.- See Also:
ScalarValuedFunction,ScalarFunctionDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionEvaluatorcontructEvaluator(ScalarSettable result, Object[] arguments)Construct a new evaluator for the associated function with the given arguments, bound to the specified output buffer.
-
-
-
Method Detail
-
contructEvaluator
FunctionEvaluator contructEvaluator(ScalarSettable result, Object[] arguments)
Construct a new evaluator for the associated function with the given arguments, bound to the specified output buffer.- Parameters:
result- the buffer to which the function result is writtenarguments- the arguments to the function- Returns:
- a new evaluator for the function
-
-