Package | Description |
---|---|
org.springframework.data.cassandra.config |
Spring Data Cassandra
factory beans and configuration. |
org.springframework.data.cassandra.core.cql.generator |
CQL generators for Keyspace object actions.
|
org.springframework.data.cassandra.core.cql.keyspace |
Keyspace object action specifications such as
CREATE TABLE , DROP INDEX . |
Modifier and Type | Method and Description |
---|---|
protected List<CreateKeyspaceSpecification> |
AbstractSessionConfiguration.getKeyspaceCreations()
Returns the list of keyspace creations to be run right after initialization.
|
Modifier and Type | Method and Description |
---|---|
void |
CqlSessionFactoryBean.setKeyspaceCreations(List<CreateKeyspaceSpecification> specifications)
|
Modifier and Type | Method and Description |
---|---|
static String |
CreateKeyspaceCqlGenerator.toCql(CreateKeyspaceSpecification specification) |
Constructor and Description |
---|
CreateKeyspaceCqlGenerator(CreateKeyspaceSpecification specification) |
Modifier and Type | Method and Description |
---|---|
static CreateKeyspaceSpecification |
CreateKeyspaceSpecification.createKeyspace(com.datastax.oss.driver.api.core.CqlIdentifier name)
Entry point into the
CreateKeyspaceSpecification 's fluent API given name to create a keyspace. |
static CreateKeyspaceSpecification |
CreateKeyspaceSpecification.createKeyspace(KeyspaceIdentifier name)
Deprecated.
since 3.0, use
createKeyspace(CqlIdentifier) |
static CreateKeyspaceSpecification |
CreateKeyspaceSpecification.createKeyspace(String name)
Entry point into the
CreateKeyspaceSpecification 's fluent API given name to create a keyspace. |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.ifNotExists()
Causes the inclusion of an
IF NOT EXISTS clause. |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.ifNotExists(boolean ifNotExists)
Toggles the inclusion of an
IF NOT EXISTS clause. |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.with(KeyspaceOption option) |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.with(KeyspaceOption option,
Object value) |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.with(String name,
Object value,
boolean escape,
boolean quote) |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.withNetworkReplication(DataCenterReplication... dcrs)
Configure datacenter replication given
DataCenterReplication . |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.withSimpleReplication()
Configure simple replication with a replication factor of
1 . |
CreateKeyspaceSpecification |
CreateKeyspaceSpecification.withSimpleReplication(long replicationFactor)
Configure simple replication with a
replicationFactor . |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.