| Package | Description |
|---|---|
| org.springframework.cassandra.core | |
| org.springframework.cassandra.core.cql | |
| org.springframework.cassandra.core.keyspace |
| Modifier and Type | Method and Description |
|---|---|
long |
CqlTemplate.count(CqlIdentifier tableName) |
long |
CqlOperations.count(CqlIdentifier tableName)
Counts all rows for given table
|
void |
CqlTemplate.truncate(CqlIdentifier tableName) |
void |
CqlOperations.truncate(CqlIdentifier tableName)
Delete all rows in the table
|
| Modifier and Type | Method and Description |
|---|---|
static CqlIdentifier |
CqlIdentifier.cqlId(CharSequence identifier)
Factory method for
CqlIdentifier. |
static CqlIdentifier |
CqlIdentifier.cqlId(CharSequence identifier,
boolean forceQuote)
Factory method for
CqlIdentifier. |
static CqlIdentifier |
CqlIdentifier.quotedCqlId(CharSequence identifier)
Factory method for a force-quoted
CqlIdentifier. |
| Modifier and Type | Method and Description |
|---|---|
int |
CqlIdentifier.compareTo(CqlIdentifier that)
Unquoted identifiers sort before quoted ones.
|
| Modifier and Type | Field and Description |
|---|---|
protected CqlIdentifier |
ColumnChangeSpecification.name |
| Modifier and Type | Method and Description |
|---|---|
CqlIdentifier |
IndexDescriptor.getColumnName() |
CqlIdentifier |
CreateIndexSpecification.getColumnName() |
CqlIdentifier |
ColumnSpecification.getName() |
CqlIdentifier |
IndexDescriptor.getName()
Returns the name of the index.
|
CqlIdentifier |
ColumnChangeSpecification.getName() |
CqlIdentifier |
TableNameSpecification.getName() |
CqlIdentifier |
TableDescriptor.getName()
Returns the name of the table.
|
CqlIdentifier |
IndexNameSpecification.getName() |
CqlIdentifier |
IndexDescriptor.getTableName()
Returns the table name for the index
|
CqlIdentifier |
CreateIndexSpecification.getTableName() |
| Modifier and Type | Method and Description |
|---|---|
static AlterTableSpecification |
AlterTableSpecification.alterTable(CqlIdentifier tableName)
Entry point into the
AlterTableSpecification's fluent API to alter a table. |
T |
TableSpecification.clusteredKeyColumn(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
T |
TableSpecification.clusteredKeyColumn(CqlIdentifier name,
com.datastax.driver.core.DataType type,
Ordering ordering) |
T |
TableSpecification.column(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
protected T |
TableSpecification.column(CqlIdentifier name,
com.datastax.driver.core.DataType type,
PrimaryKeyType keyType,
Ordering ordering) |
CreateIndexSpecification |
CreateIndexSpecification.columnName(CqlIdentifier columnName) |
static CreateIndexSpecification |
CreateIndexSpecification.createIndex(CqlIdentifier name)
Entry point into the
CreateIndexSpecification's fluent API to create a index. |
static CreateTableSpecification |
CreateTableSpecification.createTable(CqlIdentifier name)
Entry point into the
CreateTableSpecification's fluent API to create a table. |
static DropColumnSpecification |
DropColumnSpecification.dropColumn(CqlIdentifier name) |
static DropTableSpecification |
DropTableSpecification.dropTable(CqlIdentifier tableName)
Entry point into the
DropTableSpecification's fluent API to drop a table. |
ColumnSpecification |
ColumnSpecification.name(CqlIdentifier name) |
T |
TableOptionsSpecification.name(CqlIdentifier name) |
T |
TableNameSpecification.name(CqlIdentifier name) |
CreateTableSpecification |
CreateTableSpecification.name(CqlIdentifier name) |
T |
IndexNameSpecification.name(CqlIdentifier name) |
T |
TableSpecification.partitionKeyColumn(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
protected void |
ColumnChangeSpecification.setName(CqlIdentifier name) |
CreateIndexSpecification |
CreateIndexSpecification.tableName(CqlIdentifier tableName) |
| Constructor and Description |
|---|
AddColumnSpecification(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
AlterColumnSpecification(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
ColumnChangeSpecification(CqlIdentifier name) |
ColumnTypeChangeSpecification(CqlIdentifier name,
com.datastax.driver.core.DataType type) |
DropColumnSpecification(CqlIdentifier name) |
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.