public interface EvaluatorFactory
ScalarValuedFunction
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 of EvaluatorFactory
must also
be serializable as JSON.
ScalarValuedFunction
,
ScalarFunctionDescriptor
Modifier and Type | Method and 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.
|
FunctionEvaluator contructEvaluator(ScalarSettable result, Object[] arguments)
result
- the buffer to which the function result is writtenarguments
- the arguments to the functionCopyright © 2020 Actian Corporation. All rights reserved.