public class InputMappedFactory extends MappedEvaluatorFactory
MappedEvaluatorFactory.Mapping| Constructor and Description |
|---|
InputMappedFactory(int[] indices,
MappedEvaluatorFactory.Mapping... mappings)
Defines a factory using the specified mapping dispatched
by the widest type of the specified arguments.
|
InputMappedFactory(int index,
MappedEvaluatorFactory.Mapping... mappings)
Defines a factory using the specified mapping and dispatched
by the type of the specified argument.
|
| Modifier and Type | Method and Description |
|---|---|
protected ScalarTokenType |
getDispatchType(ScalarSettable result,
Object[] arguments)
Determines the type to use to select the evaluator.
|
contructEvaluator, usepublic InputMappedFactory(int index,
MappedEvaluatorFactory.Mapping... mappings)
index - the argument used to determine the lookup
type for the evaluatormappings - the type to evaluator mappings to usepublic InputMappedFactory(int[] indices,
MappedEvaluatorFactory.Mapping... mappings)
indices - the arguments used to determine the lookup
type for the evaluator.mappings - the type to evaluator mappings to useprotected ScalarTokenType getDispatchType(ScalarSettable result, Object[] arguments)
MappedEvaluatorFactorygetDispatchType in class MappedEvaluatorFactoryresult - the result buffer for the functionarguments - the arguments to the functionCopyright © 2021 Actian Corporation. All rights reserved.