Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Field and Description |
---|---|
static CodecRegistry |
CodecRegistry.IMMUTABLE_INSTANCE
An immutable instance of CodecRegistry.
|
Modifier and Type | Method and Description |
---|---|
protected CodecRegistry |
UDTValue.getCodecRegistry() |
protected CodecRegistry |
TupleValue.getCodecRegistry() |
CodecRegistry |
PreparedStatement.getCodecRegistry()
Return the
CodecRegistry instance associated with this prepared statement. |
CodecRegistry |
DefaultPreparedStatement.getCodecRegistry() |
CodecRegistry |
Configuration.getCodecRegistry()
Returns the
CodecRegistry instance for this configuration. |
CodecRegistry |
CodecRegistry.register(Iterable<? extends TypeCodec<?>> codecs)
Register the given codecs with this registry.
|
CodecRegistry |
CodecRegistry.register(Iterable<? extends TypeCodec<?>> codecs,
boolean includeDerivedCollectionCodecs)
Register the given codecs with this registry.
|
CodecRegistry |
CodecRegistry.register(TypeCodec<?>... codecs)
Register the given codecs with this registry.
|
CodecRegistry |
CodecRegistry.register(TypeCodec<?> codec)
Register the given codec with this registry.
|
CodecRegistry |
CodecRegistry.register(TypeCodec<?> codec,
boolean includeDerivedCollectionCodecs)
Register the given codec with this registry.
|
Modifier and Type | Method and Description |
---|---|
static ByteBuffer[] |
CodecUtils.convert(Object[] values,
ProtocolVersion protocolVersion,
CodecRegistry codecRegistry)
Utility method to serialize user-provided values.
|
Configuration.Builder |
Configuration.Builder.withCodecRegistry(CodecRegistry codecRegistry)
Sets the codec registry for this cluster.
|
Cluster.Builder |
Cluster.Builder.withCodecRegistry(CodecRegistry codecRegistry)
Configures the
CodecRegistry instance to use for the new cluster. |
Copyright © 2012–2015. All rights reserved.