Uses of Interface
org.springframework.data.cassandra.core.cql.keyspace.Option
Package
Description
Keyspace object action specifications such as
CREATE TABLE
, DROP INDEX
.-
Uses of Option in org.springframework.data.cassandra.core.cql.keyspace
Modifier and TypeClassDescriptionclass
A default implementation ofOption
.enum
enum
Enumeration that represents all known table options.static enum
Known caching options.static enum
Known compaction options.static enum
Known compression options.Modifier and TypeMethodDescriptionKeyspaceAttributes.newNetworkReplication
(DataCenterReplication... dataCenterReplications) Returns a map ofOption
s suitable as the value of aKeyspaceOption.REPLICATION
option with replication strategy class "NetworkTopologyStrategy" and with data centers each with their corresponding replication factors.KeyspaceAttributes.newSimpleReplication()
Returns a map ofOption
s suitable as the value of aKeyspaceOption.REPLICATION
option with replication strategy class "SimpleStrategy" and with a replication factor of one.KeyspaceAttributes.newSimpleReplication
(long replicationFactor) Returns a map ofOption
s suitable as the value of aKeyspaceOption.REPLICATION
option with replication strategy class "SimpleStrategy" and with a replication factor equal to that given.