Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.exceptions |
Exceptions thrown by the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
TypeCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion)
Deserialize the given
ByteBuffer instance according to the CQL type
handled by this codec. |
abstract String |
TypeCodec.format(T value)
Format the given value as a valid CQL literal according
to the CQL type handled by this codec.
|
abstract T |
TypeCodec.parse(String value)
Parse the given CQL literal into an instance of the Java type
handled by this codec.
|
abstract ByteBuffer |
TypeCodec.serialize(T value,
ProtocolVersion protocolVersion)
Serialize the given value according to the CQL type
handled by this codec.
|
Modifier and Type | Method and Description |
---|---|
InvalidTypeException |
InvalidTypeException.copy() |