protected static enum LegacyDeserializationObjectInputStream.LegacyColumnType extends Enum<LegacyDeserializationObjectInputStream.LegacyColumnType> implements ColumnType
ColumnType
interface which still
adheres to the constant/enum values of the old ColumnType definition.
While deserializing old ColumnType objects, we will convert them to this
enum.Enum Constant and Description |
---|
ARRAY |
BIGINT |
BINARY |
BIT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
DATALINK |
DATE |
DECIMAL |
DISTINCT |
DOUBLE |
FLOAT |
INTEGER |
JAVA_OBJECT |
LIST |
LONGNVARCHAR |
LONGVARBINARY |
LONGVARCHAR |
MAP |
NCHAR |
NCLOB |
NULL |
NUMERIC |
NVARCHAR |
OTHER |
REAL |
REF |
ROWID |
SMALLINT |
SQLXML |
STRUCT |
TIME |
TIMESTAMP |
TINYINT |
VARBINARY |
VARCHAR |
ARRAY, BIGINT, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATALINK, DATE, DECIMAL, DISTINCT, DOUBLE, FLOAT, INET, INTEGER, JAVA_OBJECT, LIST, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, MAP, NCHAR, NCLOB, NULL, NUMBER, NUMERIC, NVARCHAR, OTHER, REAL, REF, ROWID, SET, SMALLINT, SQLXML, STRING, STRUCT, TIME, TIMESTAMP, TINYINT, UUID, VARBINARY, VARCHAR
Modifier and Type | Method and Description |
---|---|
Comparator<Object> |
getComparator() |
Class<?> |
getJavaEquivalentClass() |
int |
getJdbcType()
Gets the JDBC type as per the
Types class. |
String |
getName() |
SuperColumnType |
getSuperType() |
boolean |
isBinary() |
boolean |
isBoolean() |
boolean |
isLargeObject() |
boolean |
isLiteral() |
boolean |
isNumber() |
boolean |
isTimeBased() |
static LegacyDeserializationObjectInputStream.LegacyColumnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegacyDeserializationObjectInputStream.LegacyColumnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegacyDeserializationObjectInputStream.LegacyColumnType CHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType VARCHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType LONGVARCHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType CLOB
public static final LegacyDeserializationObjectInputStream.LegacyColumnType NCHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType NVARCHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType LONGNVARCHAR
public static final LegacyDeserializationObjectInputStream.LegacyColumnType NCLOB
public static final LegacyDeserializationObjectInputStream.LegacyColumnType TINYINT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType SMALLINT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType INTEGER
public static final LegacyDeserializationObjectInputStream.LegacyColumnType BIGINT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType FLOAT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType REAL
public static final LegacyDeserializationObjectInputStream.LegacyColumnType DOUBLE
public static final LegacyDeserializationObjectInputStream.LegacyColumnType NUMERIC
public static final LegacyDeserializationObjectInputStream.LegacyColumnType DECIMAL
public static final LegacyDeserializationObjectInputStream.LegacyColumnType DATE
public static final LegacyDeserializationObjectInputStream.LegacyColumnType TIME
public static final LegacyDeserializationObjectInputStream.LegacyColumnType TIMESTAMP
public static final LegacyDeserializationObjectInputStream.LegacyColumnType BIT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType BOOLEAN
public static final LegacyDeserializationObjectInputStream.LegacyColumnType BINARY
public static final LegacyDeserializationObjectInputStream.LegacyColumnType VARBINARY
public static final LegacyDeserializationObjectInputStream.LegacyColumnType LONGVARBINARY
public static final LegacyDeserializationObjectInputStream.LegacyColumnType BLOB
public static final LegacyDeserializationObjectInputStream.LegacyColumnType NULL
public static final LegacyDeserializationObjectInputStream.LegacyColumnType OTHER
public static final LegacyDeserializationObjectInputStream.LegacyColumnType JAVA_OBJECT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType DISTINCT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType STRUCT
public static final LegacyDeserializationObjectInputStream.LegacyColumnType ARRAY
public static final LegacyDeserializationObjectInputStream.LegacyColumnType REF
public static final LegacyDeserializationObjectInputStream.LegacyColumnType DATALINK
public static final LegacyDeserializationObjectInputStream.LegacyColumnType ROWID
public static final LegacyDeserializationObjectInputStream.LegacyColumnType SQLXML
public static final LegacyDeserializationObjectInputStream.LegacyColumnType LIST
public static final LegacyDeserializationObjectInputStream.LegacyColumnType MAP
public static LegacyDeserializationObjectInputStream.LegacyColumnType[] values()
for (LegacyDeserializationObjectInputStream.LegacyColumnType c : LegacyDeserializationObjectInputStream.LegacyColumnType.values()) System.out.println(c);
public static LegacyDeserializationObjectInputStream.LegacyColumnType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Comparator<Object> getComparator()
getComparator
in interface ColumnType
public boolean isBoolean()
isBoolean
in interface ColumnType
public boolean isBinary()
isBinary
in interface ColumnType
public boolean isNumber()
isNumber
in interface ColumnType
public boolean isTimeBased()
isTimeBased
in interface ColumnType
public boolean isLiteral()
isLiteral
in interface ColumnType
public boolean isLargeObject()
isLargeObject
in interface ColumnType
public Class<?> getJavaEquivalentClass()
getJavaEquivalentClass
in interface ColumnType
public SuperColumnType getSuperType()
getSuperType
in interface ColumnType
public int getJdbcType() throws IllegalStateException
ColumnType
Types
class.getJdbcType
in interface ColumnType
Types
class.IllegalStateException
- in case getting the JDBC type was unsuccesful.Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.