public class JdbcUUID extends AbstractJdbcUUID
UUID CQL type (corresponding Java type: UUID).
CQL type description: a UUID in standard UUID format.
| Modifier and Type | Field and Description |
|---|---|
static JdbcUUID |
INSTANCE
Gets a
JdbcUUID instance. |
DEFAULT_PRECISION, DEFAULT_SCALE| Modifier and Type | Method and Description |
|---|---|
UUID |
compose(ByteBuffer bytes)
Transforms the given
ByteBuffer to an instance of UUID. |
UUID |
compose(Object obj)
Transforms the given object to an instance of the Java type corresponding to this type.
|
Object |
decompose(UUID obj)
Transforms the given instance of the Java type corresponding to this type to a generic object.
|
String |
getString(ByteBuffer bytes) |
getJdbcType, getPrecision, getScale, getType, isCaseSensitive, isCurrency, isSigned, needsQuotes, toStringpublic static final JdbcUUID INSTANCE
JdbcUUID instance.public UUID compose(ByteBuffer bytes)
ByteBuffer to an instance of UUID.bytes - The ByteBuffer instance to transform.UUID from the given ByteBuffer.public UUID compose(@Nonnull Object obj)
AbstractJdbcTypecompose in class AbstractJdbcType<UUID>obj - The object.T.public String getString(ByteBuffer bytes)
public Object decompose(UUID obj)
AbstractJdbcTypedecompose in class AbstractJdbcType<UUID>obj - The value.Copyright © 2020–2024 ING Bank. All rights reserved.