Package | Description |
---|---|
com.datastax.oss.driver.api.core |
The core API of the driver, that deals with query execution and cluster metadata.
|
com.datastax.oss.driver.api.core.cql | |
com.datastax.oss.driver.api.core.data | |
com.datastax.oss.driver.api.core.detach | |
com.datastax.oss.driver.api.core.type.codec |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProtocolVersion
A protocol version supported by default by the driver.
|
Modifier and Type | Field and Description |
---|---|
static ProtocolVersion |
ProtocolVersion.DEFAULT
The default version used for
detached objects. |
static ProtocolVersion |
ProtocolVersion.V3 |
static ProtocolVersion |
ProtocolVersion.V4 |
static ProtocolVersion |
ProtocolVersion.V5 |
Modifier and Type | Method and Description |
---|---|
List<ProtocolVersion> |
UnsupportedProtocolVersionException.getAttemptedVersions()
The versions that were attempted.
|
Modifier and Type | Method and Description |
---|---|
static UnsupportedProtocolVersionException |
UnsupportedProtocolVersionException.forSingleAttempt(EndPoint endPoint,
ProtocolVersion attemptedVersion) |
Modifier and Type | Method and Description |
---|---|
static UnsupportedProtocolVersionException |
UnsupportedProtocolVersionException.forNegotiation(EndPoint endPoint,
List<ProtocolVersion> attemptedVersions) |
Constructor and Description |
---|
UnsupportedProtocolVersionException(EndPoint endPoint,
String message,
List<ProtocolVersion> attemptedVersions) |
Modifier and Type | Method and Description |
---|---|
ProtocolVersion |
BoundStatementBuilder.protocolVersion() |
Constructor and Description |
---|
BoundStatementBuilder(PreparedStatement preparedStatement,
ColumnDefinitions variableDefinitions,
ByteBuffer[] values,
String executionProfileName,
DriverExecutionProfile executionProfile,
CqlIdentifier routingKeyspace,
ByteBuffer routingKey,
Token routingToken,
Map<String,ByteBuffer> customPayload,
Boolean idempotent,
boolean tracing,
long timestamp,
ByteBuffer pagingState,
int pageSize,
ConsistencyLevel consistencyLevel,
ConsistencyLevel serialConsistencyLevel,
Duration timeout,
CodecRegistry codecRegistry,
ProtocolVersion protocolVersion) |
Modifier and Type | Method and Description |
---|---|
ProtocolVersion |
Data.protocolVersion()
Returns the protocol version that is currently used to convert values for this instance.
|
Modifier and Type | Method and Description |
---|---|
ProtocolVersion |
AttachmentPoint.getProtocolVersion() |
Modifier and Type | Method and Description |
---|---|
JavaTypeT |
TypeCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion)
Decodes a value from the binary format of the CQL type handled by this codec.
|
default Short |
PrimitiveShortCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Long |
PrimitiveLongCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Integer |
PrimitiveIntCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Float |
PrimitiveFloatCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Double |
PrimitiveDoubleCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Byte |
PrimitiveByteCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
default Boolean |
PrimitiveBooleanCodec.decode(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
short |
PrimitiveShortCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
long |
PrimitiveLongCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
int |
PrimitiveIntCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
float |
PrimitiveFloatCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
double |
PrimitiveDoubleCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
byte |
PrimitiveByteCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
boolean |
PrimitiveBooleanCodec.decodePrimitive(ByteBuffer value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveBooleanCodec.encode(Boolean value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveByteCodec.encode(Byte value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveDoubleCodec.encode(Double value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveFloatCodec.encode(Float value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveIntCodec.encode(Integer value,
ProtocolVersion protocolVersion) |
ByteBuffer |
TypeCodec.encode(JavaTypeT value,
ProtocolVersion protocolVersion)
Encodes the given value in the binary format of the CQL type handled by this codec.
|
default ByteBuffer |
PrimitiveLongCodec.encode(Long value,
ProtocolVersion protocolVersion) |
default ByteBuffer |
PrimitiveShortCodec.encode(Short value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveBooleanCodec.encodePrimitive(boolean value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveByteCodec.encodePrimitive(byte value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveDoubleCodec.encodePrimitive(double value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveFloatCodec.encodePrimitive(float value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveIntCodec.encodePrimitive(int value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveLongCodec.encodePrimitive(long value,
ProtocolVersion protocolVersion) |
ByteBuffer |
PrimitiveShortCodec.encodePrimitive(short value,
ProtocolVersion protocolVersion) |
Copyright © 2017–2019. All rights reserved.