java.lang.Object
com.pervasive.datarush.functions.MappedEvaluatorFactory
com.pervasive.datarush.functions.ResultMappedFactory
- All Implemented Interfaces:
EvaluatorFactory
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
ConstructorsConstructorDescriptionResultMappedFactory(MappedEvaluatorFactory.Mapping... mappings) Defines a factory using the specified mapping. -
Method Summary
Modifier and TypeMethodDescriptionprotected ScalarTokenTypegetDispatchType(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 Details
-
ResultMappedFactory
Defines a factory using the specified mapping.- Parameters:
mappings- the type to evaluator mappings to use
-
-
Method Details
-
getDispatchType
Description copied from class:MappedEvaluatorFactoryDetermines the type to use to select the evaluator.- Specified by:
getDispatchTypein classMappedEvaluatorFactory- Parameters:
result- the result buffer for the functionarguments- the arguments to the function- Returns:
- the type to use to lookup the evaluator
-