Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
TableMetadata.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.
|
Copyright © 2012–2015. All rights reserved.