Package | Description |
---|---|
com.datastax.driver.core |
The main package for the DataStax Java driver for Cassandra.
|
com.datastax.driver.core.querybuilder |
A CQL3 query builder.
|
Modifier and Type | Method and Description |
---|---|
TableMetadata |
MaterializedViewMetadata.getBaseTable()
Return this materialized view's base table.
|
TableMetadata |
IndexMetadata.getTable()
Returns the metadata of the table this index is part of.
|
TableMetadata |
KeyspaceMetadata.getTable(String name)
Returns the metadata for a table contained in this keyspace.
|
Modifier and Type | Method and Description |
---|---|
Collection<TableMetadata> |
KeyspaceMetadata.getTables()
Returns the tables defined in this keyspace.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaChangeListener.onTableAdded(TableMetadata table)
Called when a table has been added.
|
void |
SchemaChangeListener.onTableChanged(TableMetadata current,
TableMetadata previous)
Called when a table has changed.
|
void |
SchemaChangeListener.onTableRemoved(TableMetadata table)
Called when a table has been removed.
|
Modifier and Type | Method and Description |
---|---|
Select |
Select.Builder.from(TableMetadata table)
Adds the table to select from.
|
Select |
Select.SelectionOrAlias.from(TableMetadata table) |
Delete |
Delete.Builder.from(TableMetadata table)
Adds the table to delete from.
|
static Insert |
QueryBuilder.insertInto(TableMetadata table)
Start building a new INSERT query.
|
static Truncate |
QueryBuilder.truncate(TableMetadata table)
Creates a new TRUNCATE query.
|
static Update |
QueryBuilder.update(TableMetadata table)
Start building a new UPDATE query.
|