Uses of Class
com.datastax.astra.client.tables.Table
Package
Description
Top package to interact with Databases and Keyspaces.
Top package to interact with Tables.
Objects representing cursors working with find tables commands.
-
Uses of Table in com.datastax.astra.client.databases
Modifier and TypeMethodDescription<T> Table
<T> Database.createTable
(Class<T> rowClass) Creates a table using default options and the inferred table name from the row class.<T> Table
<T> Database.createTable
(Class<T> rowClass, CreateTableOptions createTableOptions) Creates a table using default options and the inferred table name from the row class.Database.createTable
(String tableName, TableDefinition tableDefinition) Creates a table with a default row type ofRow
.Database.createTable
(String tableName, TableDefinition tableDefinition, CreateTableOptions options) Creates a table using default options and runtime configurations.<T> Table
<T> Database.createTable
(String tableName, TableDefinition tableDefinition, Class<T> rowClass) Creates a table using default options and runtime configurations.<T> Table
<T> Database.createTable
(String tableName, TableDefinition tableDefinition, Class<T> rowClass, CreateTableOptions createTableOptions) Creates a table in the system with the specified parameters.<T> Table
<T> Database.createTable
(String tableName, Class<T> rowClass, CreateTableOptions createTableOptions) Creates a table using default options and runtime configurations.<T> Table
<T> Retrieves a table representation for a row class annotated withEntityTable
.Retrieves a table representation for the specified table name with defaultTableOptions
.Database.getTable
(String tableName, TableOptions tableOptions) Retrieves a table representation for the specified table name andTableOptions
, defaulting toRow
type rows.<T> Table
<T> Retrieves a table representation for the specified table name and row class type with defaultTableOptions
.<T> Table
<T> Database.getTable
(String tableName, Class<T> rowClass, TableOptions tableOptions) Retrieves a table representation for the specified table name, table options, and row class type. -
Uses of Table in com.datastax.astra.client.tables
Modifier and TypeMethodDescriptionTable.alter
(AlterTableOperation operation) Performs an alteration operation on the table with default options.Table.alter
(AlterTableOperation operation, AlterTableOptions options) Performs an alteration operation on the table with the specified options.final <R> Table
<R> Table.alter
(AlterTableOperation operation, AlterTableOptions options, Class<R> clazz) Performs an alteration operation on the table with the specified options and row class. -
Uses of Table in com.datastax.astra.client.tables.cursor
ModifierConstructorDescriptionTableCursor
(Table<T> table, Filter filter, TableFindOptions options, Class<R> rowType) Cursor to iterate on the result of a query.