C |
TypeCodec.AbstractCollectionCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Map<K,V> |
TypeCodec.AbstractMapCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
T |
TypeCodec.AbstractTupleCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
T |
TypeCodec.AbstractUDTCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
abstract T |
TypeCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
Deserialize the given ByteBuffer instance according to the CQL type handled by this
codec.
|
Boolean |
TypeCodec.PrimitiveBooleanCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Byte |
TypeCodec.PrimitiveByteCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Double |
TypeCodec.PrimitiveDoubleCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Float |
TypeCodec.PrimitiveFloatCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Integer |
TypeCodec.PrimitiveIntCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Long |
TypeCodec.PrimitiveLongCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
Short |
TypeCodec.PrimitiveShortCodec.deserialize(ByteBuffer bytes,
ProtocolVersion protocolVersion) |
|
protected abstract T |
TypeCodec.AbstractTupleCodec.deserializeAndSetField(ByteBuffer input,
T target,
int index,
ProtocolVersion protocolVersion) |
|
protected abstract T |
TypeCodec.AbstractUDTCodec.deserializeAndSetField(ByteBuffer input,
T target,
String fieldName,
ProtocolVersion protocolVersion) |
|
abstract boolean |
TypeCodec.PrimitiveBooleanCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract byte |
TypeCodec.PrimitiveByteCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract double |
TypeCodec.PrimitiveDoubleCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract float |
TypeCodec.PrimitiveFloatCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract int |
TypeCodec.PrimitiveIntCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract long |
TypeCodec.PrimitiveLongCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract short |
TypeCodec.PrimitiveShortCodec.deserializeNoBoxing(ByteBuffer v,
ProtocolVersion protocolVersion) |
|
abstract Map<String,ByteBuffer> |
RegularStatement.getNamedValues(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
The named values to use for this statement.
|
Map<String,ByteBuffer> |
SimpleStatement.getNamedValues(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
ByteBuffer |
BatchStatement.getRoutingKey(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
ByteBuffer |
BoundStatement.getRoutingKey(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
The routing key for this bound query.
|
ByteBuffer |
SimpleStatement.getRoutingKey(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
Returns the routing key for the query.
|
abstract ByteBuffer |
Statement.getRoutingKey(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
Returns the routing key (in binary raw form) to use for token aware routing of this query.
|
ByteBuffer |
StatementWrapper.getRoutingKey(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
Statement |
BatchStatement.getRoutingStatement(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
Returns the first statement in this batch that provides a routing key for the given protocol
version and codec registry.
|
abstract ByteBuffer[] |
RegularStatement.getValues(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
The positional values to use for this statement.
|
ByteBuffer[] |
SimpleStatement.getValues(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
boolean |
ProtocolFeatures.Feature.isSupportedBy(ProtocolVersion version) |
Determines whether the input version supports ths feature.
|
boolean |
ProtocolFeatures.Feature.isSupportedBy(ProtocolVersion version,
ProtocolFeatureStore featureStore) |
Determines whether the input version supports ths feature.
|
static TupleType |
TupleType.of(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry,
DataType... types) |
|
static ByteBuffer |
CodecUtils.pack(ByteBuffer[] buffers,
int elements,
ProtocolVersion version) |
Utility method that "packs" together a list of ByteBuffers containing serialized
collection elements.
|
void |
ProtocolFeatureStore.populateStartupOptions(ProtocolVersion protocolVersion,
Map<String,String> options) |
|
static int |
CodecUtils.readSize(ByteBuffer input,
ProtocolVersion version) |
Utility method that reads a size value.
|
static ByteBuffer |
CodecUtils.readValue(ByteBuffer input,
ProtocolVersion version) |
Utility method that reads a value.
|
int |
BatchStatement.requestSizeInBytes(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
int |
BoundStatement.requestSizeInBytes(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
Returns the number of bytes required to encode this statement.
|
int |
RegularStatement.requestSizeInBytes(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
int |
Statement.requestSizeInBytes(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
Returns the number of bytes required to encode this statement.
|
int |
StatementWrapper.requestSizeInBytes(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry) |
|
abstract ByteBuffer |
Token.serialize(ProtocolVersion protocolVersion) |
Returns the serialized form of the current token, using the appropriate codec depending on the
partitioner in use and the CQL datatype for the token.
|
ByteBuffer |
TypeCodec.AbstractCollectionCodec.serialize(C value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.AbstractMapCodec.serialize(Map<K,V> value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.AbstractTupleCodec.serialize(T value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.AbstractUDTCodec.serialize(T value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveBooleanCodec.serialize(Boolean value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveByteCodec.serialize(Byte value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveDoubleCodec.serialize(Double value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveFloatCodec.serialize(Float value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveIntCodec.serialize(Integer value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveLongCodec.serialize(Long value,
ProtocolVersion protocolVersion) |
|
ByteBuffer |
TypeCodec.PrimitiveShortCodec.serialize(Short value,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.serialize(T value,
ProtocolVersion protocolVersion) |
Serialize the given value according to the CQL type handled by this codec.
|
protected abstract ByteBuffer |
TypeCodec.AbstractTupleCodec.serializeField(T source,
int index,
ProtocolVersion protocolVersion) |
|
protected abstract ByteBuffer |
TypeCodec.AbstractUDTCodec.serializeField(T source,
String fieldName,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveBooleanCodec.serializeNoBoxing(boolean v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveByteCodec.serializeNoBoxing(byte v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveDoubleCodec.serializeNoBoxing(double v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveFloatCodec.serializeNoBoxing(float v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveIntCodec.serializeNoBoxing(int v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveLongCodec.serializeNoBoxing(long v,
ProtocolVersion protocolVersion) |
|
abstract ByteBuffer |
TypeCodec.PrimitiveShortCodec.serializeNoBoxing(short v,
ProtocolVersion protocolVersion) |
|
Cluster.Builder |
Cluster.Builder.withProtocolVersion(ProtocolVersion version) |
The native protocol version to use.
|
static void |
CodecUtils.writeSize(ByteBuffer output,
int size,
ProtocolVersion version) |
Utility method that writes a size value.
|
static void |
CodecUtils.writeValue(ByteBuffer output,
ByteBuffer value,
ProtocolVersion version) |
Utility method that writes a value.
|