|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.rdb.internal.models.sql.schema.helper.DatabaseHelper
public class DatabaseHelper
com.ibm.db.models.sql.schema.Database.| Constructor Summary | |
|---|---|
DatabaseHelper()
|
|
| Method Summary | |
|---|---|
static Schema |
findSchema(Database database,
java.lang.String schemaName)
Finds a Schema by its name in a given Database. |
static java.util.List |
findTables(Database database,
java.lang.String tableName)
Finds all Tables with the name tableName in all
Schema's of the given database. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseHelper()
| Method Detail |
|---|
public static Schema findSchema(Database database,
java.lang.String schemaName)
Schema by its name in a given Database.
If the given schemaName is not delimited, the
search is not case sensitive.
database - the Database to find Schemas inschemaName - the String name of the Schema to find
Schema found or null if no
corresponding Schema was found
java.lang.NullPointerException - if given database or given
schemaName is null
public static java.util.List findTables(Database database,
java.lang.String tableName)
Tables with the name tableName in all
Schema's of the given database.
Returns a list of Tables with associated Schema.
If the given tableName is not delimited, the
search is not case sensitive.
database - the Database to search intableName - the String name of the Table to find
Tables with associated Schema
java.lang.NullPointerException - if given schema or given
tableName is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||