Package org.apache.derby.catalog
Interface DependableFinder
- All Known Implementing Classes:
DDColumnDependableFinder
,DDdependableFinder
public interface DependableFinder
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
Modifier and TypeMethodDescriptiongetDependable
(DataDictionary dd, UUID dependableObjectID) Get the in-memory object associated with the passed-in object ID.The name of the class of Dependables as a "SQL Object" which this Finder can find.
-
Method Details
-
getDependable
Get the in-memory object associated with the passed-in object ID.- Parameters:
dd
- DataDictionary to use for lookup.dependableObjectID
- the ID of a Dependable. Used to locate that Dependable.- Returns:
- the associated Dependable
- Throws:
StandardException
- thrown if the object cannot be found or on error o
-
getSQLObjectType
String getSQLObjectType()The name of the class of Dependables as a "SQL Object" which this Finder can find. This is a value like "Table" or "View". Every DependableFinder can find some class of Dependables.- Returns:
- String type of the "SQL Object" which this Finder can find.
- See Also:
-