public class DbSchema extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
isDefault
True if this is the default schema for this database.
|
boolean |
isSystem
True if this is a system schema (for example the INFORMATION_SCHEMA).
|
String |
name
The schema name.
|
String |
quotedName
The quoted schema name.
|
Modifier and Type | Method and Description |
---|---|
DbContents |
getContents() |
DbProcedure[] |
getProcedures() |
DbTableOrView[] |
getTables() |
void |
readProcedures(DatabaseMetaData meta)
Read all procedures in the dataBase.
|
void |
readTables(DatabaseMetaData meta,
String[] tableTypes)
Read all tables for this schema from the database meta data.
|
public final String name
public final boolean isDefault
public final boolean isSystem
public final String quotedName
public DbContents getContents()
public DbTableOrView[] getTables()
public DbProcedure[] getProcedures()
public void readTables(DatabaseMetaData meta, String[] tableTypes) throws SQLException
meta
- the database meta datatableTypes
- the table types to readSQLException
public void readProcedures(DatabaseMetaData meta) throws SQLException
meta
- the database meta dataSQLException
- Error while fetching proceduresCopyright © 2020 JBoss by Red Hat. All rights reserved.