Package org.apache.ignite.table
Interface IgniteTables
public interface IgniteTables
Interface that provides methods for managing tables.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Table
Gets a table with the specified name if that table exists.@Nullable Table
table
(QualifiedName name) Gets a table with the specified name if that table exists.default CompletableFuture<Table>
tableAsync
(String name) Gets a table with the specified name if that table exists.tableAsync
(QualifiedName name) Gets a table with the specified name if that table exists.tables()
Gets a list of all tables.Gets a list of all tables.
-
Method Details
-
tables
Gets a list of all tables. The order of tables in the returned list is not defined.- Returns:
- List of tables.
-
tablesAsync
CompletableFuture<List<Table>> tablesAsync()Gets a list of all tables. The order of tables in the returned list is not defined.- Returns:
- Future that represents the pending completion of the operation.
-
table
Gets a table with the specified name if that table exists.- Parameters:
name
- Name of the table with SQL-parser style quotation, e.g. "tbl0" - the table "TBL0" will be looked up, "\"Tbl0\"" - "Tbl0", etc.- Returns:
- Table identified by name or
null
if table doesn't exist.
-
table
Gets a table with the specified name if that table exists.- Parameters:
name
- Table name.- Returns:
- Table identified by name or
null
if table doesn't exist.
-
tableAsync
Gets a table with the specified name if that table exists.- Parameters:
name
- Name of the table with SQL-parser style quotation, e.g. "tbl0" - the table "TBL0" will be looked up, "\"Tbl0\"" - "Tbl0", etc.- Returns:
- Future that represents the pending completion of the operation.
-
tableAsync
Gets a table with the specified name if that table exists.- Parameters:
name
- Table name.- Returns:
- Future that represents the pending completion of the operation.
-