Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
ProtocolOptions |
Configuration.getProtocolOptions()
Returns the Cassandra binary protocol level configuration (compression).
|
ProtocolOptions |
ProtocolOptions.setCompression(ProtocolOptions.Compression compression)
Sets the compression to use.
|
Constructor and Description |
---|
Configuration(Policies policies,
ProtocolOptions protocolOptions,
PoolingOptions poolingOptions,
SocketOptions socketOptions,
MetricsOptions metricsOptions,
QueryOptions queryOptions)
Deprecated.
this constructor is provided for backward compatibility.
|
Configuration(Policies policies,
ProtocolOptions protocolOptions,
PoolingOptions poolingOptions,
SocketOptions socketOptions,
MetricsOptions metricsOptions,
QueryOptions queryOptions,
NettyOptions nettyOptions)
Creates a configuration with the specified parameters.
|