public class _Private_ScalarConversions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
_Private_ScalarConversions.AS_TYPE |
static class |
_Private_ScalarConversions.CantConvertException |
static class |
_Private_ScalarConversions.ConversionException |
static class |
_Private_ScalarConversions.ValueNotSetException |
static class |
_Private_ScalarConversions.ValueVariant |
Constructor and Description |
---|
_Private_ScalarConversions() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
get_value_type_name(int value_type) |
static java.lang.String |
getAllValueTypeNames(int value_type) |
protected static int |
getConversionFnid(int authoritative_type,
int new_type)
from a values authoritative type (the type of the original data
for the value) and the desired type this returns the conversion
functions id, or throws a CantConvertException in the event the
authoritative type cannot be cast to the desired type.
|
static IntegerSize |
getIntegerSize(int authoritative_type) |
static java.lang.String |
getValueTypeName(int value_type) |
protected static int FNID_no_conversion
protected static int FNID_identity
protected static final int FNID_FROM_STRING_TO_NULL
protected static final int FNID_FROM_STRING_TO_BOOLEAN
protected static final int FNID_FROM_STRING_TO_INT
protected static final int FNID_FROM_STRING_TO_LONG
protected static final int FNID_FROM_STRING_TO_BIGINTEGER
protected static final int FNID_FROM_STRING_TO_DECIMAL
protected static final int FNID_FROM_STRING_TO_DOUBLE
protected static final int FNID_FROM_STRING_TO_DATE
protected static final int FNID_FROM_STRING_TO_TIMESTAMP
protected static final int FNID_FROM_NULL_TO_STRING
protected static final int FNID_FROM_BOOLEAN_TO_STRING
protected static final int FNID_FROM_INT_TO_STRING
protected static final int FNID_FROM_LONG_TO_STRING
protected static final int FNID_FROM_BIGINTEGER_TO_STRING
protected static final int FNID_FROM_DECIMAL_TO_STRING
protected static final int FNID_FROM_DOUBLE_TO_STRING
protected static final int FNID_FROM_DATE_TO_STRING
protected static final int FNID_FROM_TIMESTAMP_TO_STRING
protected static final int FNID_FROM_LONG_TO_INT
protected static final int FNID_FROM_BIGINTEGER_TO_INT
protected static final int FNID_FROM_DECIMAL_TO_INT
protected static final int FNID_FROM_DOUBLE_TO_INT
protected static final int FNID_FROM_INT_TO_LONG
protected static final int FNID_FROM_BIGINTEGER_TO_LONG
protected static final int FNID_FROM_DECIMAL_TO_LONG
protected static final int FNID_FROM_DOUBLE_TO_LONG
protected static final int FNID_FROM_INT_TO_BIGINTEGER
protected static final int FNID_FROM_LONG_TO_BIGINTEGER
protected static final int FNID_FROM_DECIMAL_TO_BIGINTEGER
protected static final int FNID_FROM_DOUBLE_TO_BIGINTEGER
protected static final int FNID_FROM_INT_TO_DECIMAL
protected static final int FNID_FROM_LONG_TO_DECIMAL
protected static final int FNID_FROM_BIGINTEGER_TO_DECIMAL
protected static final int FNID_FROM_DOUBLE_TO_DECIMAL
protected static final int FNID_FROM_INT_TO_DOUBLE
protected static final int FNID_FROM_LONG_TO_DOUBLE
protected static final int FNID_FROM_BIGINTEGER_TO_DOUBLE
protected static final int FNID_FROM_DECIMAL_TO_DOUBLE
protected static final int FNID_FROM_TIMESTAMP_TO_DATE
protected static final int FNID_FROM_DATE_TO_TIMESTAMP
public static IntegerSize getIntegerSize(int authoritative_type)
public static java.lang.String getValueTypeName(int value_type)
public static java.lang.String get_value_type_name(int value_type)
public static final java.lang.String getAllValueTypeNames(int value_type)
protected static final int getConversionFnid(int authoritative_type, int new_type)
authoritative_type
- new_type
-