Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
ProtocolOptions.Compression |
ProtocolOptions.getCompression()
Returns the compression used by the protocol.
|
static ProtocolOptions.Compression |
ProtocolOptions.Compression.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolOptions.Compression[] |
ProtocolOptions.Compression.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ProtocolOptions |
ProtocolOptions.setCompression(ProtocolOptions.Compression compression)
Sets the compression to use.
|
Cluster.Builder |
Cluster.Builder.withCompression(ProtocolOptions.Compression compression)
Sets the compression to use for the transport.
|
Copyright © 2012–2017. All rights reserved.