Package | Description |
---|---|
org.springframework.data.cassandra.core.cql |
CQL core support.
|
org.springframework.data.cassandra.core.cql.keyspace |
Keyspace object action specifications such as
CREATE TABLE , DROP INDEX . |
org.springframework.data.cassandra.core.mapping |
Infrastructure for the Apache Cassandra row-to-object mapping subsystem.
|
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 | 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)
Adds the given primary key column to the table with ascending ordering.
|
T |
TableSpecification.clusteredKeyColumn(String name,
com.datastax.driver.core.DataType type,
Ordering ordering)
Adds the given primary key column to the table with ascending 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.
|
ColumnSpecification |
ColumnSpecification.ordering(Ordering ordering)
Sets the column's
ColumnSpecification.ordering . |
Modifier and Type | Method and Description |
---|---|
T |
TableSpecification.clusteredKeyColumn(CqlIdentifier name,
com.datastax.driver.core.DataType type,
Optional<Ordering> ordering)
Adds the given primary key column to the table with ascending ordering.
|
protected T |
TableSpecification.column(CqlIdentifier name,
com.datastax.driver.core.DataType type,
Optional<PrimaryKeyType> optionalKeyType,
Optional<Ordering> optionalOrdering) |
protected T |
TableSpecification.column(String name,
com.datastax.driver.core.DataType type,
PrimaryKeyType keyType,
Optional<Ordering> ordering)
Adds the given info as a new column to the table.
|
Modifier and Type | Method and Description |
---|---|
Ordering |
BasicCassandraPersistentProperty.getPrimaryKeyOrdering() |
Ordering |
CassandraPersistentProperty.getPrimaryKeyOrdering()
The ordering (ascending or descending) for the column.
|
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.