public class DbSchema extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 - on failurepublic void readProcedures(DatabaseMetaData meta) throws SQLException
meta - the database meta dataSQLException - Error while fetching proceduresCopyright © 2022. All rights reserved.