public class UuidType extends AbstractDataType
BIGINT, BIGINT_AUX_LONG, BINARY, BIT, BLOB, BOOLEAN, CHAR, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INTEGER, LONGNVARCHAR, LONGVARBINARY, LONGVARCHAR, NCHAR, NUMERIC, NVARCHAR, REAL, SMALLINT, TIME, TIMESTAMP, TINYINT, UNKNOWN, VARBINARY, VARCHAR
Constructor and Description |
---|
UuidType() |
Modifier and Type | Method and Description |
---|---|
Object |
getSqlValue(int column,
ResultSet resultSet)
Returns the specified column value from the specified resultset object.
|
void |
setSqlValue(Object uuid,
int column,
PreparedStatement statement)
Set the specified value to the specified prepared statement object.
|
Object |
typeCast(Object arg0)
Returns the specified value typecasted to this
DataType |
areObjectsEqual, compare, compareNonNulls, getSqlType, getTypeClass, isDateTime, isNumber, loadClass, loadClass, toString
asString, forObject, forSqlType, forSqlTypeName
public Object getSqlValue(int column, ResultSet resultSet) throws SQLException, TypeCastException
DataType
getSqlValue
in class AbstractDataType
SQLException
TypeCastException
public void setSqlValue(Object uuid, int column, PreparedStatement statement) throws SQLException, TypeCastException
DataType
setSqlValue
in class AbstractDataType
SQLException
TypeCastException
public Object typeCast(Object arg0) throws TypeCastException
DataType
DataType
typeCast
in class DataType
TypeCastException
Copyright © 2002–2019. All rights reserved.