public class ReflectiveFactory extends Object implements EvaluatorFactory
ScalarSettable or subclass object as the first argument as
the result buffer.ScalarFunctionDescriptor. Varargs are
supported with either an array (or vararg) or list as the last argument.| Constructor and Description |
|---|
ReflectiveFactory(Class<? extends FunctionEvaluator> clazz)
Defines a factory creating evaluators of the specified class.
|
| 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.
|
public ReflectiveFactory(Class<? extends FunctionEvaluator> clazz)
evaluator - the class of the evaluator to createpublic FunctionEvaluator contructEvaluator(ScalarSettable result, Object[] arguments)
EvaluatorFactorycontructEvaluator in interface EvaluatorFactoryresult - the buffer to which the function result is writtenarguments - the arguments to the functionCopyright © 2021 Actian Corporation. All rights reserved.