| Package | Description |
|---|---|
| org.springframework.cassandra.core |
CQL core support.
|
| org.springframework.cassandra.core.keyspace |
Keyspace object action specifications such as
CREATE TABLE, DROP INDEX. |
| Modifier and Type | Method and Description |
|---|---|
static Ordering |
Ordering.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ordering[] |
Ordering.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Ordering.compare(Ordering l,
Ordering r) |
| Modifier and Type | Field and Description |
|---|---|
static Ordering |
ColumnSpecification.DEFAULT_ORDERING
Default ordering of primary key fields; value is
ASCENDING. |
| Modifier and Type | Method and Description |
|---|---|
Ordering |
ColumnSpecification.getOrdering() |
| Modifier and Type | Method and Description |
|---|---|
ColumnSpecification |
ColumnSpecification.clustered(Ordering order)
Identifies this column as a clustered key column with the given ordering.
|
ColumnSpecification |
ColumnSpecification.clustered(Ordering order,
boolean primary)
Toggles the identification of this column as a clustered key column.
|
T |
TableSpecification.clusteredKeyColumn(CqlIdentifier name,
com.datastax.driver.core.DataType type,
Ordering ordering) |
T |
TableSpecification.clusteredKeyColumn(String name,
com.datastax.driver.core.DataType type,
Ordering ordering)
Adds the given primary key column to the table with the given ordering (
null meaning ascending). |
protected T |
TableSpecification.column(CqlIdentifier name,
com.datastax.driver.core.DataType type,
PrimaryKeyType keyType,
Ordering ordering) |
protected T |
TableSpecification.column(String name,
com.datastax.driver.core.DataType type,
PrimaryKeyType keyType,
Ordering ordering)
Adds the given info as a new column to the table.
|
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.