Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Field and Description |
---|---|
protected KeyspaceMetadata |
AbstractTableMetadata.keyspace |
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
FunctionMetadata.getKeyspace()
Returns the keyspace this function belongs to.
|
KeyspaceMetadata |
AggregateMetadata.getKeyspace()
Returns the keyspace this aggregate belongs to.
|
KeyspaceMetadata |
AbstractTableMetadata.getKeyspace()
Returns the keyspace this table belong to.
|
KeyspaceMetadata |
Metadata.getKeyspace(String keyspace)
Returns the metadata of a keyspace given its name.
|
Modifier and Type | Method and Description |
---|---|
List<KeyspaceMetadata> |
Metadata.getKeyspaces()
Returns a list of all the defined keyspaces.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaChangeListener.onKeyspaceAdded(KeyspaceMetadata keyspace)
Called when a keyspace has been added.
|
void |
SchemaChangeListener.onKeyspaceChanged(KeyspaceMetadata current,
KeyspaceMetadata previous)
Called when a keyspace has changed.
|
void |
SchemaChangeListener.onKeyspaceRemoved(KeyspaceMetadata keyspace)
Called when a keyspace has been removed.
|
Constructor and Description |
---|
AbstractTableMetadata(KeyspaceMetadata keyspace,
String name,
UUID id,
List<ColumnMetadata> partitionKey,
List<ColumnMetadata> clusteringColumns,
Map<String,ColumnMetadata> columns,
TableOptionsMetadata options,
List<ClusteringOrder> clusteringOrder,
VersionNumber cassandraVersion) |