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, use
public 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)
MappedEvaluatorFactory
getDispatchType
in class MappedEvaluatorFactory
result
- the result buffer for the functionarguments
- the arguments to the functionCopyright © 2016 Actian Corporation. All rights reserved.