-
- All Known Implementing Classes:
InputMappedFactory
,MappedEvaluatorFactory
,ReflectiveFactory
,ResultMappedFactory
public interface EvaluatorFactory
A factory used to construct evaluators forScalarValuedFunction
s. A number of implementations are provided which cover common use cases.An
EvaluatorFactory
is 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 ofEvaluatorFactory
must also be serializable as JSON.- See Also:
ScalarValuedFunction
,ScalarFunctionDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionEvaluator
contructEvaluator(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
-
-