Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.withAddressTranslator(AddressTranslator translator)
Configures the address translator to use for the new cluster.
|
Modifier and Type | Class and Description |
---|---|
class |
EC2MultiRegionAddressTranslator
AddressTranslator implementation for a multi-region EC2 deployment where clients are
also deployed in EC2. |
class |
IdentityTranslator
The default
AddressTranslator used by the driver that do no translation. |
Modifier and Type | Method and Description |
---|---|
static AddressTranslator |
Policies.defaultAddressTranslator()
The default address translator.
|
AddressTranslator |
Policies.getAddressTranslator()
The address translator in use.
|
Modifier and Type | Method and Description |
---|---|
Policies.Builder |
Policies.Builder.withAddressTranslator(AddressTranslator addressTranslator)
Sets the address translator.
|
Copyright © 2012–2024. All rights reserved.