| Package | Description |
|---|---|
| org.springframework.data.cassandra.core.cql.keyspace |
Keyspace object action specifications such as
CREATE TABLE, DROP INDEX. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultOption
A default implementation of
Option. |
class |
KeyspaceOption |
class |
TableOption
Enumeration that represents all known table options.
|
static class |
TableOption.CachingOption
Known caching options.
|
static class |
TableOption.CompactionOption
Known compaction options.
|
static class |
TableOption.CompressionOption
Known compression options.
|
| 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. |
static Map<Option,Object> |
KeyspaceAttributes.newSimpleReplication()
Returns a map of
Options suitable as the value of a KeyspaceOption.REPLICATION option with
replication strategy class "SimpleStrategy" and with a replication factor of one. |
static Map<Option,Object> |
KeyspaceAttributes.newSimpleReplication(long replicationFactor)
Returns a map of
Options suitable as the value of a KeyspaceOption.REPLICATION option with
replication strategy class "SimpleStrategy" and with a replication factor equal to that given. |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.