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
 Dependable getDependable(DataDictionary dd, UUID dependableObjectID)
          Get the in-memory object associated with the passed-in object ID.
 java.lang.String getSQLObjectType()
          The name of the class of Dependables as a "SQL Object" which this Finder can find.
 

Method Detail

getDependable

Dependable getDependable(DataDictionary dd,
                         UUID dependableObjectID)
                         throws StandardException
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

java.lang.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:
Dependable

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.