| Access | Constructor and Description |
|---|---|
| public | MetaSchema(Database
the database database, int the object id id, String the schema name schemaName, User the owner of the schema owner)Creates a new instance of meta data schema. |
| Modifier and Type | Method and Description |
|---|---|
| public Table | findTableOrView(SessionLocal
the session session, String the object name name)Overrides org. Try to find a table or view with this name. |
| public Collection | getAllTablesAndViews(SessionLocal
the session, session)null to exclude meta tablesOverrides org. Get all tables and views. |
| protected abstract Map | Returns: map of tables in this schemathe session session)Returns map of tables in this schema. |
| public Table | getTableOrView(SessionLocal
the session session, String the table or view name name)Overrides org. Get the table or view with the given name. |
| public Table | getTableOrViewByName(SessionLocal
the session session, String the table name name)Overrides org. Get the table with the given name, if any. |
| public boolean | isEmpty()
Overrides org. Return whether is this schema is empty (does not contain any objects). |
| MetaSchema | back to summary |
|---|---|
| public MetaSchema(Database database, int id, String schemaName, User owner) Creates a new instance of meta data schema. | |
| findTableOrView | back to summary |
|---|---|
| public Table findTableOrView(SessionLocal session, String name) Overrides org. Doc from org. Try to find a table or view with this name. This method returns null if no object with this name exists. Local temporary tables are also returned. Synonyms are not returned or resolved.
| |
| getAllTablesAndViews | back to summary |
|---|---|
| public Collection Overrides org. Doc from org. Get all tables and views.
| |
| getMap | back to summary |
|---|---|
| protected abstract Map Returns map of tables in this schema.
| |
| getTableOrView | back to summary |
|---|---|
| public Table getTableOrView(SessionLocal session, String name) Overrides org. Doc from org. Get the table or view with the given name. Local temporary tables are also returned.
| |
| getTableOrViewByName | back to summary |
|---|---|
| public Table getTableOrViewByName(SessionLocal session, String name) Overrides org. Doc from org. Get the table with the given name, if any.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Doc from org. Return whether is this schema is empty (does not contain any objects).
| |