| 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.
|
| com.datastax.driver.dse.search |
| 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() |
| Modifier and Type | Method and Description |
|---|---|
DateRange |
DateRangeCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
String |
DateRangeCodec.format(DateRange dateRange) |
DateRange |
DateRangeCodec.parse(String value) |
ByteBuffer |
DateRangeCodec.serialize(DateRange dateRange,
ProtocolVersion protocolVersion) |
Copyright © 2012–2017. All rights reserved.