|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.bnf.context.DbSchema
public class DbSchema
Contains meta data information about a database schema. This class is used by the H2 Console.
Field Summary | |
---|---|
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). |
static int |
MAX_PROCEDURES_LIST_COLUMNS
Up to this many tables, the column names are listed. |
static int |
MAX_TABLES_LIST_COLUMNS
Up to this many tables, the column names are listed. |
static int |
MAX_TABLES_LIST_INDEXES
Up to this many tables, the column type and indexes are listed. |
java.lang.String |
name
The schema name. |
java.lang.String |
quotedName
The quoted schema name. |
Method Summary | |
---|---|
DbContents |
getContents()
|
DbProcedure[] |
getProcedures()
|
DbTableOrView[] |
getTables()
|
void |
readProcedures(java.sql.DatabaseMetaData meta)
Read all procedures in the dataBase. |
void |
readTables(java.sql.DatabaseMetaData meta,
java.lang.String[] tableTypes)
Read all tables for this schema from the database meta data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_TABLES_LIST_INDEXES
public static final int MAX_TABLES_LIST_COLUMNS
public static final int MAX_PROCEDURES_LIST_COLUMNS
public final java.lang.String name
public final boolean isDefault
public final boolean isSystem
public final java.lang.String quotedName
Method Detail |
---|
public DbContents getContents()
public DbTableOrView[] getTables()
public DbProcedure[] getProcedures()
public void readTables(java.sql.DatabaseMetaData meta, java.lang.String[] tableTypes) throws java.sql.SQLException
meta
- the database meta datatableTypes
- the table types to read
java.sql.SQLException
public void readProcedures(java.sql.DatabaseMetaData meta) throws java.sql.SQLException
meta
- the database meta data
java.sql.SQLException
- Error while fetching procedures
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |