- java.lang.Object
-
- com.pervasive.datarush.functions.DefaultArgumentConverter
-
- All Implemented Interfaces:
ArgumentConverter
public class DefaultArgumentConverter extends Object implements ArgumentConverter
The default argument converter. ScalarValuedFunction arguments are passed directly, while primitive- and String-type arguments are parsed from a ConstantReference.
If any other argument type is expected or another type of ScalarValueFunction is provided when a ConstantReference is expected, an IllegalArgumentException is thrown.
-
-
Constructor Summary
Constructors Constructor Description DefaultArgumentConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(ScalarValuedFunction value, Class<?> expectedType)
-
-
-
Method Detail
-
convert
public Object convert(ScalarValuedFunction value, Class<?> expectedType)
- Specified by:
convert
in interfaceArgumentConverter
-
-