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 |
ColumnMetadata.getTable()
Returns the metadata of the table this column 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)
Adds the table to select from.
|
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.
|
Modifier and Type | Method and Description |
---|---|
TableMetadata |
Mapper.getTableMetadata()
The
TableMetadata for this mapper. |