| Package | Description |
|---|---|
| org.springframework.data.cassandra.core.cql.keyspace |
Keyspace object action specifications such as
CREATE TABLE, DROP INDEX. |
| Modifier and Type | Method and Description |
|---|---|
static DataCenterReplication |
DataCenterReplication.of(String dataCenter,
long replicationFactor)
|
| Modifier and Type | Method and Description |
|---|---|
static Map<Option,Object> |
KeyspaceAttributes.newNetworkReplication(DataCenterReplication... dataCenterReplications)
Returns a map of
Options suitable as the value of a KeyspaceOption.REPLICATION option with
replication strategy class "NetworkTopologyStrategy" and with data centers each with their corresponding
replication factors. |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.withNetworkReplication(DataCenterReplication... dcrs)
Configure datacenter replication given
DataCenterReplication. |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.