public interface DbMetaData
Meta-information about the database (DDL).
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetTable(DbQualifiedName name) getTable(DbTableData tableData) default Iterable<DbTableData>
-
Method Details
-
getTables
- Returns:
- an
Iterablewith theDbTableDataof all tables in the current catalog/schema.
-
getTables
- Parameters:
name- thenameor name-pattern of the tables.- Returns:
- an
Iterablewith theDbTableDataof the matching tables in the current catalog/schema.
-
getTables
- Parameters:
catalog- thecatalog. May benull.schema- theschema. May benull.name- thenameor name-pattern of the tables.- Returns:
- an
Iterablewith theDbTableDataof the matching tables.
-
getTable
- Parameters:
name- thequalified table name.- Returns:
- the
DbTablewith the givennameornullif no such table exists.
-
getTable
- Parameters:
name- thequalified table name.- Returns:
- the
DbTablewith the givennameornullif no such table exists.
-
getTable
- Parameters:
tableData- theDbTableData(fromgetTables(String, String, String)).- Returns:
- the
DbTablepopulated with additional information.
-
getCurrentCatalog
DbName getCurrentCatalog()- Returns:
- the current
catalog.
-
getCurrentSchema
DbName getCurrentSchema()- Returns:
- the current
schema.
-