public interface Schema
A schema is a namespace that contains tables, views, and other database objects.
Originally derived from Apache Calcite's catalog interfaces.
| Modifier and Type | Method and Description |
|---|---|
Catalog |
getCatalog()
Returns the catalog that this schema belongs to.
|
String |
getName()
Returns the name of the schema.
|
Table |
getTable(String tableName)
Returns a table by name, or null if not found.
|
List<String> |
getTableNames()
Returns all table names in this schema.
|
List<Table> |
getTables()
Returns all tables in this schema.
|
Catalog getCatalog()
Table getTable(String tableName)
tableName - Table name (case-sensitive)List<String> getTableNames()