Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Field and Description |
---|---|
static CodecRegistry |
CodecRegistry.DEFAULT_INSTANCE
A default 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(TypeCodec<?>... codecs)
Register the given codecs with this registry.
|
CodecRegistry |
CodecRegistry.register(TypeCodec<?> codec)
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.
|
static TupleType |
TupleType.of(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry,
DataType... types)
Creates a "disconnected" tuple type (you should prefer
cluster.getMetadata().newTupleType(...)
whenever possible). |
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. |
Constructor and Description |
---|
QueryBuilder(ProtocolVersion protocolVersion,
CodecRegistry codecRegistry)
Create a "disconnected" QueryBuilder instance (you should prefer
QueryBuilder.QueryBuilder(Cluster) whenever possible). |
Copyright © 2012–2015. All rights reserved.