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.core.querybuilder |
A CQL3 query builder.
|
com.datastax.driver.core.schemabuilder |
A CQL3 schema builder.
|
com.datastax.driver.mapping |
Modifier and Type | Field and Description |
---|---|
static ProtocolVersion |
ProtocolVersion.NEWEST_SUPPORTED
The most recent protocol version supported by the driver.
|
Modifier and Type | Field and Description |
---|---|
static Map<ProtocolVersion,Map<String,Integer>> |
PoolingOptions.DEFAULTS
The default values for connection options, that depend on the native protocol version.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolVersion |
ProtocolVersion.fromInt(int i)
Returns the value matching an integer version.
|
ProtocolVersion |
ProtocolOptions.getProtocolVersionEnum()
The protocol version used by the Cluster instance.
|
static ProtocolVersion |
ProtocolVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolVersion[] |
ProtocolVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Object |
DataType.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion)
Deserialize a value of this type from the provided bytes using the given protocol version.
|
ByteBuffer[] |
SimpleStatement.getValues(ProtocolVersion protocolVersion) |
abstract ByteBuffer[] |
RegularStatement.getValues(ProtocolVersion protocolVersion)
The values to use for this statement.
|
ByteBuffer |
DataType.serialize(Object value,
ProtocolVersion protocolVersion)
Serialize a value of this type to bytes, with the given protocol version.
|
static ByteBuffer |
DataType.serializeValue(Object value,
ProtocolVersion protocolVersion)
Serialize an object based on its java class.
|
Cluster.Builder |
Cluster.Builder.withProtocolVersion(ProtocolVersion version)
The native protocol version to use.
|
Constructor and Description |
---|
AbstractGettableData(ProtocolVersion protocolVersion)
Creates a new AbstractGettableData object.
|
ProtocolOptions(int port,
ProtocolVersion protocolVersion,
int maxSchemaAgreementWaitSeconds,
SSLOptions sslOptions,
AuthProvider authProvider)
Creates a new
ProtocolOptions instance using the provided port
and SSL context. |
Constructor and Description |
---|
UnsupportedFeatureException(ProtocolVersion currentVersion,
String msg) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer[] |
BuiltStatement.getValues(ProtocolVersion protocolVersion) |
ByteBuffer[] |
Batch.getValues(ProtocolVersion protocolVersion) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer[] |
SchemaStatement.getValues(ProtocolVersion protocolVersion) |
Constructor and Description |
---|
MappingManager(Session session,
ProtocolVersion protocolVersion)
Creates a new
MappingManager using the provided Session . |