| org.apache.derby.catalog.DependableFinder
All known Subclasses: org.apache.derby.impl.sql.catalog.DDdependableFinder,
DependableFinder | public interface DependableFinder (Code) | | A DependableFinder is an object that can find an in-memory
Dependable, given the Dependable's ID.
The DependableFinder is able to write itself to disk and,
once read back into memory, locate the in-memory Dependable that it
represents.
DependableFinder objects are stored in SYS.SYSDEPENDS to record
dependencies between database objects.
|
Method Summary | |
public Dependable | getDependable(UUID dependableObjectID) Get the in-memory object associated with the passed-in object ID.
Parameters: dependableObjectID - the ID of a Dependable. | public Dependable | getDependable(String dependableObjectID) Get the in-memory object associated with the passed-in object ID. | public String | getSQLObjectName(String idString) Get the name of the SQL Object that corresponds to the specified
UUID String. | public String | getSQLObjectType() The name of the class of Dependables as a "SQL Object" which this
Finder can find.
This is a value like "Table", "View", or "Publication".
Every DependableFinder can find some class of Dependables. |
getDependable | public Dependable getDependable(UUID dependableObjectID) throws SQLException(Code) | | Get the in-memory object associated with the passed-in object ID.
Parameters: dependableObjectID - the ID of a Dependable. Used to locate that Dependable. the associated Dependable exception: SQLException - thrown on error |
getDependable | public Dependable getDependable(String dependableObjectID) throws SQLException(Code) | | Get the in-memory object associated with the passed-in object ID.
Parameters: dependableObjectID - the UUID of the Dependable as a String.Used to locate that Dependable the associated Dependable exception: SQLException - thrown on error |
getSQLObjectName | public String getSQLObjectName(String idString) throws SQLException(Code) | | Get the name of the SQL Object that corresponds to the specified
UUID String. For example, if getSQLObjectType() returns "Table",
this will return the table name.
Parameters: idString - the UUID String of a Dependable. Used to locate that Dependable. String Name of the associated Dependable exception: SQLException - thrown on error |
getSQLObjectType | public String getSQLObjectType()(Code) | | The name of the class of Dependables as a "SQL Object" which this
Finder can find.
This is a value like "Table", "View", or "Publication".
Every DependableFinder can find some class of Dependables.
String type of the "SQL Object" which this Finder can find. See Also: Dependable |
|
|