|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
schema lookup.
We need to parse a series of schema definitions somehow that each provides an interface to allow us to lookup a table in it. A series of schema must allow us to lookup a fully qualified table or a table along a search_path.
| Method Summary | |
DbSchemaTable |
getTable(String table)
find the DbSchemaTable instance for the given name.
|
DbSchemaTable |
getTable(String table,
String[] search_path)
|
List |
getTableList()
give us a list of references to DbSchemaTables. |
| Methods inherited from interface smacs.load.schema.DbSchemaTableList |
getTable |
| Method Detail |
public DbSchemaTable getTable(String table)
DbSchemaTableListDbSchemaTable instance for the given name.
This method call is supposed to use the best lookup strategy available
for the instance, so the result might differ from an appliction that goes
to serach through the list returned by DbSchemaTableList.getTableList()
getTable in interface DbSchemaTableList
public DbSchemaTable getTable(String table,
String[] search_path)
public List getTableList()
DbSchemaTableListDbSchemaTables. For a single
DbSchema this contains a unique set of table names while in
a DbSchemaList there may be multipe instances under the same
table name. Only a qualified name would help.
getTableList in interface DbSchemaTableList
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||