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.
|
com.datastax.driver.mapping |
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 |
SchemaChangeListenerBase.onTableAdded(TableMetadata table) |
void |
SchemaChangeListener.onTableAdded(TableMetadata table)
Called when a table has been added.
|
void |
SchemaChangeListenerBase.onTableChanged(TableMetadata current,
TableMetadata previous) |
void |
SchemaChangeListener.onTableChanged(TableMetadata current,
TableMetadata previous)
Called when a table has changed.
|
void |
SchemaChangeListenerBase.onTableRemoved(TableMetadata table) |
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)
Starts building a new
INSERT query. |
static Truncate |
QueryBuilder.truncate(TableMetadata table)
Creates a new
TRUNCATE query. |
static Update |
QueryBuilder.update(TableMetadata table)
Starts building a new
UPDATE query. |
Modifier and Type | Method and Description |
---|---|
TableMetadata |
Mapper.getTableMetadata()
The
TableMetadata for this mapper. |
Copyright © 2012–2017. All rights reserved.