DbSchema

Contains meta data information about a database schema. This class is used by the H2 Console.

Methods
DbContents getContents()
DbContents getContents()
Returns:
The database content container.
DbProcedure[] getProcedures()
DbProcedure[] getProcedures()
Returns:
The procedure list.
DbTableOrView[] getTables()
DbTableOrView[] getTables()
Returns:
The table list.
void readProcedures(DatabaseMetaData meta)
Read all procedures in the dataBase.
void readProcedures(DatabaseMetaData meta) throws SQLException
Read all procedures in the dataBase.
Parameters:
meta - the database meta data
Throws:
SQLException - Error while fetching procedures
void readTables(DatabaseMetaData meta, String[] tableTypes)
Read all tables for this schema from the database meta data.
void readTables(DatabaseMetaData meta, String[] tableTypes) throws SQLException
Read all tables for this schema from the database meta data.
Parameters:
meta - the database meta data
tableTypes - the table types to read

Fields
static boolean isDefault
static boolean isSystem
static String name
static String quotedName

isDefault

True if this is the default schema for this database.

isSystem

True if this is a system schema (for example the INFORMATION_SCHEMA).

name

The schema name.

quotedName

The quoted schema name.