| 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(CreateTableSpecification specification) |
com.datastax.driver.core.ResultSet |
CqlOperations.execute(CreateTableSpecification specification)
Convenience method to convert the given specification to CQL and execute it.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CreateTableCqlGenerator.toCql(CreateTableSpecification specification) |
| Constructor and Description |
|---|
CreateTableCqlGenerator(CreateTableSpecification specification) |
| Modifier and Type | Method and Description |
|---|---|
static CreateTableSpecification |
CreateTableSpecification.createTable()
Entry point into the
CreateTableSpecification's fluent API to create a table. |
static CreateTableSpecification |
CreateTableSpecification.createTable(CqlIdentifier name)
Entry point into the
CreateTableSpecification's fluent API to create a table. |
static CreateTableSpecification |
CreateTableSpecification.createTable(String name)
Entry point into the
CreateTableSpecification's fluent API to create a table. |
CreateTableSpecification |
CreateTableSpecification.ifNotExists()
Causes the inclusion of an
IF NOT EXISTS clause. |
CreateTableSpecification |
CreateTableSpecification.ifNotExists(boolean ifNotExists)
Toggles the inclusion of an
IF NOT EXISTS clause. |
CreateTableSpecification |
CreateTableSpecification.name(CqlIdentifier name) |
CreateTableSpecification |
CreateTableSpecification.name(String name) |
CreateTableSpecification |
CreateTableSpecification.with(String name,
Object value,
boolean escape,
boolean quote) |
CreateTableSpecification |
CreateTableSpecification.with(TableOption option) |
CreateTableSpecification |
CreateTableSpecification.with(TableOption option,
Object value) |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.