Top Description Methods
org.apache.derby.catalog

public Interface DependableFinder

Known Direct Implementers
org.apache.derby.impl.sql.catalog.DDdependableFinder
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.sql.dictionary.DataDictionary

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 TypeMethod and Description
public Dependable

Returns:

the associated Dependable
getDependable
(DataDictionary
DataDictionary to use for lookup.
dd
,
UUID
the ID of a Dependable. Used to locate that Dependable.
dependableObjectID
)

Get the in-memory object associated with the passed-in object ID.

public String

Returns:

String type of the "SQL Object" which this Finder can find.
getSQLObjectType
()

The name of the class of Dependables as a "SQL Object" which this Finder can find.

Method Detail

getDependableback to summary
public Dependable getDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException

Get the in-memory object associated with the passed-in object ID.

Parameters
dd:DataDictionary

DataDictionary to use for lookup.

dependableObjectID:UUID

the ID of a Dependable. Used to locate that Dependable.

Returns:Dependable

the associated Dependable

Exceptions
StandardException:
thrown if the object cannot be found or on error o
getSQLObjectTypeback to summary
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" or "View". Every DependableFinder can find some class of Dependables.

Returns:String

String type of the "SQL Object" which this Finder can find.

See Also
Dependable