|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FarragoMedNameDirectory
FarragoMedNameDirectory defines a virtual hierarchical namespace interface in which to look up tables, routines, other namespaces, etc.
Method Summary | |
---|---|
FarragoMedColumnSet |
lookupColumnSet(FarragoTypeFactory typeFactory,
String foreignName,
String[] localName)
Looks up a FarragoMedColumnSet by name. |
FarragoMedNameDirectory |
lookupSubdirectory(String foreignName)
Looks up an immediate subdirectory by name. |
FemBaseColumnSet |
newImportedColumnSet(FarragoRepos repos,
String tableName)
Creates a new instance of FemBaseColumnSet in the catalog to represent an imported table. |
boolean |
queryMetadata(FarragoMedMetadataQuery query,
FarragoMedMetadataSink sink)
Executes a query against the metadata contained by this directory. |
Method Detail |
---|
FarragoMedColumnSet lookupColumnSet(FarragoTypeFactory typeFactory, String foreignName, String[] localName) throws SQLException
typeFactory
- FarragoTypeFactory to use for defining typesforeignName
- simple name of foreign ColumnSet to lookup as a direct
child of this directorylocalName
- compound identifier by which FarragoMedColumnSet will be
referenced locally
SQLException
- if metadata access is unsuccessfulFarragoMedNameDirectory lookupSubdirectory(String foreignName) throws SQLException
foreignName
- identifier for subdirectory
SQLException
- if metadata access is unsuccessfulboolean queryMetadata(FarragoMedMetadataQuery query, FarragoMedMetadataSink sink) throws SQLException
NOTE: the supplied sink may be used to implement passive aborts by throwing an unchecked exception when an abort request is detected.
query
- the query to executesink
- target which receives the query results
SQLException
- if metadata access is unsuccessful (but not if
query is unsupported)FemBaseColumnSet newImportedColumnSet(FarragoRepos repos, String tableName)
repos
- repository storing catalogtableName
- name of imported table
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |