Package | Description |
---|---|
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 |
---|---|
static String |
AlterTableCqlGenerator.toCql(AlterTableSpecification specification)
Generates a CQL statement from the given
specification . |
Constructor and Description |
---|
AlterTableCqlGenerator(AlterTableSpecification specification)
Create a new {@link AlterTableCqlGenerator}.
|
Modifier and Type | Method and Description |
---|---|
AlterTableSpecification |
AlterTableSpecification.add(CqlIdentifier column,
com.datastax.driver.core.DataType type)
Adds an
ADD to the list of column changes. |
AlterTableSpecification |
AlterTableSpecification.add(String column,
com.datastax.driver.core.DataType type)
Adds an
ADD to the list of column changes. |
AlterTableSpecification |
AlterTableSpecification.alter(CqlIdentifier column,
com.datastax.driver.core.DataType type)
Adds an ALTER to the list of column changes.
|
AlterTableSpecification |
AlterTableSpecification.alter(String column,
com.datastax.driver.core.DataType type)
Adds an ALTER to the list of column changes.
|
static AlterTableSpecification |
AlterTableSpecification.alterTable(CqlIdentifier tableName)
Entry point into the
AlterTableSpecification 's fluent API given tableName to alter a table. |
static AlterTableSpecification |
AlterTableSpecification.alterTable(String tableName)
Entry point into the
AlterTableSpecification 's fluent API given tableName to alter a table. |
AlterTableSpecification |
AlterTableSpecification.drop(CqlIdentifier column) |
AlterTableSpecification |
AlterTableSpecification.drop(String column) |
AlterTableSpecification |
AlterTableSpecification.rename(CqlIdentifier from,
CqlIdentifier to)
Adds a
RENAME to the list of column changes. |
AlterTableSpecification |
AlterTableSpecification.rename(String from,
String to)
Adds a
RENAME to the list of column changes. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.