Uses of Class
org.springframework.data.cassandra.core.cql.keyspace.CreateKeyspaceSpecification
Package
Description
Spring Data Cassandra
factory beans
and configuration.CQL generators for Keyspace object actions.
Keyspace object action specifications such as
CREATE TABLE
, DROP INDEX
.-
Uses of CreateKeyspaceSpecification in org.springframework.data.cassandra.config
Modifier and TypeMethodDescriptionprotected List<CreateKeyspaceSpecification>
AbstractSessionConfiguration.getKeyspaceCreations()
Returns the list of keyspace creations to be run right after initialization.Modifier and TypeMethodDescriptionvoid
CqlSessionFactoryBean.setKeyspaceCreations
(List<CreateKeyspaceSpecification> specifications) -
Uses of CreateKeyspaceSpecification in org.springframework.data.cassandra.core.cql.generator
Modifier and TypeMethodDescriptionstatic String
CreateKeyspaceCqlGenerator.toCql
(CreateKeyspaceSpecification specification) ModifierConstructorDescriptionCreateKeyspaceCqlGenerator
(CreateKeyspaceSpecification specification) -
Uses of CreateKeyspaceSpecification in org.springframework.data.cassandra.core.cql.keyspace
Modifier and TypeMethodDescriptionstatic CreateKeyspaceSpecification
CreateKeyspaceSpecification.createKeyspace
(com.datastax.oss.driver.api.core.CqlIdentifier name) Entry point into theCreateKeyspaceSpecification
's fluent API givenname
to create a keyspace.static CreateKeyspaceSpecification
CreateKeyspaceSpecification.createKeyspace
(String name) Entry point into theCreateKeyspaceSpecification
's fluent API givenname
to create a keyspace.static CreateKeyspaceSpecification
CreateKeyspaceSpecification.createKeyspace
(KeyspaceIdentifier name) Deprecated.CreateKeyspaceSpecification.ifNotExists()
Causes the inclusion of anIF NOT EXISTS
clause.CreateKeyspaceSpecification.ifNotExists
(boolean ifNotExists) Toggles the inclusion of anIF NOT EXISTS
clause.CreateKeyspaceSpecification.with
(KeyspaceOption option) CreateKeyspaceSpecification.with
(KeyspaceOption option, Object value) CreateKeyspaceSpecification.withNetworkReplication
(DataCenterReplication... dcrs) Configure datacenter replication givenDataCenterReplication
.CreateKeyspaceSpecification.withSimpleReplication()
Configure simple replication with a replication factor of1
.CreateKeyspaceSpecification.withSimpleReplication
(long replicationFactor) Configure simple replication with areplicationFactor
.
createKeyspace(CqlIdentifier)