| Package | Description |
|---|---|
| org.springframework.cassandra.core |
CQL core support.
|
| org.springframework.cassandra.core.cql.generator |
CQL generators for Keyspace object actions.
|
| org.springframework.cassandra.core.keyspace |
Keyspace object action specifications such as
CREATE TABLE, DROP INDEX. |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.ResultSet |
CqlTemplate.execute(AlterTableSpecification specification) |
com.datastax.driver.core.ResultSet |
CqlOperations.execute(AlterTableSpecification specification)
Convenience method to convert the given specification to CQL and execute it.
|
| 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)
Creates a new {@link AlterTableCqlGenerator}.
|
| Modifier and Type | Method and Description |
|---|---|
AlterTableSpecification |
AlterTableSpecification.add(String column,
com.datastax.driver.core.DataType type)
Adds an
ADD 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()
Entry point into the
AlterTableSpecification's fluent API to alter a table. |
static AlterTableSpecification |
AlterTableSpecification.alterTable(CqlIdentifier tableName)
Entry point into the
AlterTableSpecification's fluent API to alter a table. |
static AlterTableSpecification |
AlterTableSpecification.alterTable(String tableName)
Entry point into the
AlterTableSpecification's fluent API to alter a table. |
AlterTableSpecification |
AlterTableSpecification.drop(String column) |
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.