Package | Description |
---|---|
com.datastax.driver.core |
The main package for 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. |
T |
TypeCodec.StringParsingCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
T |
TypeCodec.MappingCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
E |
TypeCodec.EnumIntCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
String |
TypeCodec.EnumIntCodec.format(E value) |
abstract String |
TypeCodec.format(T value)
Format the given value as a valid CQL literal according
to the CQL type handled by this codec.
|
String |
TypeCodec.StringParsingCodec.format(T value) |
String |
TypeCodec.MappingCodec.format(T value) |
abstract T |
TypeCodec.parse(String value)
Parse the given CQL literal into an instance of the Java type
handled by this codec.
|
T |
TypeCodec.StringParsingCodec.parse(String value) |
T |
TypeCodec.MappingCodec.parse(String value) |
E |
TypeCodec.EnumIntCodec.parse(String value) |
ByteBuffer |
TypeCodec.EnumIntCodec.serialize(E value,
ProtocolVersion protocolVersion) |
abstract ByteBuffer |
TypeCodec.serialize(T value,
ProtocolVersion protocolVersion)
Serialize the given value according to the CQL type
handled by this codec.
|
ByteBuffer |
TypeCodec.StringParsingCodec.serialize(T value,
ProtocolVersion protocolVersion) |
ByteBuffer |
TypeCodec.MappingCodec.serialize(T value,
ProtocolVersion protocolVersion) |
Copyright © 2012–2015. All rights reserved.