- java.lang.Object
-
- com.pervasive.datarush.functions.MappedEvaluatorFactory
-
- com.pervasive.datarush.functions.ResultMappedFactory
-
- All Implemented Interfaces:
EvaluatorFactory
public class ResultMappedFactory extends MappedEvaluatorFactory
A factory mapped by the expected type of the result.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.pervasive.datarush.functions.MappedEvaluatorFactory
MappedEvaluatorFactory.Mapping
-
-
Constructor Summary
Constructors Constructor Description ResultMappedFactory(MappedEvaluatorFactory.Mapping... mappings)
Defines a factory using the specified mapping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScalarTokenType
getDispatchType(ScalarSettable result, Object[] arguments)
Determines the type to use to select the evaluator.-
Methods inherited from class com.pervasive.datarush.functions.MappedEvaluatorFactory
contructEvaluator, use
-
-
-
-
Constructor Detail
-
ResultMappedFactory
public ResultMappedFactory(MappedEvaluatorFactory.Mapping... mappings)
Defines a factory using the specified mapping.- Parameters:
mappings
- the type to evaluator mappings to use
-
-
Method Detail
-
getDispatchType
protected ScalarTokenType getDispatchType(ScalarSettable result, Object[] arguments)
Description copied from class:MappedEvaluatorFactory
Determines the type to use to select the evaluator.- Specified by:
getDispatchType
in classMappedEvaluatorFactory
- Parameters:
result
- the result buffer for the functionarguments
- the arguments to the function- Returns:
- the type to use to lookup the evaluator
-
-