public abstract class ColumnConverter extends Object
Constructor and Description |
---|
ColumnConverter() |
Modifier and Type | Method and Description |
---|---|
abstract String |
convertExpression(String inExpr)
Returns a JEL expression for the converted value of a supplied
unconverted input expression.
|
abstract Object |
convertValue(Object value)
Converts a value from its raw value to the value required for
a particular purpose.
|
static ColumnConverter[] |
getConverters(uk.ac.starlink.table.ValueInfo info)
Returns a set of converters appropriate for a given ValueInfo.
|
abstract String |
toString()
Provides a user-understandable description of what this converter
does.
|
public abstract Object convertValue(Object value)
value
- raw valuepublic abstract String convertExpression(String inExpr)
inExpr
- input unconverted expression, assumed JEL-friendlypublic abstract String toString()
public static ColumnConverter[] getConverters(uk.ac.starlink.table.ValueInfo info)
info
- object describing the data which is requiredCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.