- java.lang.Object
-
- com.pervasive.datarush.functions.ConstantArgumentConverter
-
- All Implemented Interfaces:
ArgumentConverter
- Direct Known Subclasses:
DateFormatArgumentConverter
,DateTimeValueArgumentConverter
,GranularityArgumentConverter
,NumberFormatArgumentConverter
,TimeZoneArgumentConverter
public abstract class ConstantArgumentConverter extends Object implements ArgumentConverter
An abstract argument converter for converting String constants to the correct object type.
Child classes should implement the convert(String) object to produce an object.
-
-
Constructor Summary
Constructors Constructor Description ConstantArgumentConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
convert(ScalarValuedFunction value, Class<?> expectedType)
abstract Object
convert(String value)
-
-
-
Method Detail
-
convert
public Object convert(ScalarValuedFunction value, Class<?> expectedType)
- Specified by:
convert
in interfaceArgumentConverter
-
-