Class DependencyDescriptor
java.lang.Object
org.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.UniqueTupleDescriptor
org.apache.derby.iapi.sql.dictionary.DependencyDescriptor
DependencyDescriptor represents a persistent dependency between
SQL objects, such as a TRIGGER being dependent on a TABLE.
A DependencyDescriptor is stored in SYSDEPENDS as four
separate columms corresponding to the getters of this class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DependableFinder
private final UUID
public interface for this class is: public DependableFinder getDependentFinder(); public UUID getProviderID(); public DependableFinder getProviderFinder();private final DependableFinder
private final UUID
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyDescriptor
(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound) Constructor for a DependencyDescriptorDependencyDescriptor
(Dependent dependent, Provider provider) Constructor for a DependencyDescriptor -
Method Summary
Modifier and TypeMethodDescriptionGet the dependent's type for the dependency.Get the provider's type for the dependency.Get the provider's ID for the dependency.getUUID()
Get the dependent's ID for the dependency.Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary
-
Field Details
-
dependentID
public interface for this class is:- public DependableFinder getDependentFinder();
- public UUID getProviderID();
- public DependableFinder getProviderFinder();
-
dependentBloodhound
-
providerID
-
providerBloodhound
-
-
Constructor Details
-
DependencyDescriptor
Constructor for a DependencyDescriptor- Parameters:
dependent
- The Dependentprovider
- The Provider
-
DependencyDescriptor
public DependencyDescriptor(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound) Constructor for a DependencyDescriptor- Parameters:
dependentID
- The Dependent IDdependentBloodhound
- The bloodhound for finding the DependentproviderID
- The Provider IDproviderBloodhound
- The bloodhound for finding the Provider
-
-
Method Details
-
getUUID
Get the dependent's ID for the dependency.- Specified by:
getUUID
in classUniqueTupleDescriptor
- Returns:
- The dependent's ID.
-
getDependentFinder
Get the dependent's type for the dependency.- Returns:
- The dependent's type.
-
getProviderID
Get the provider's ID for the dependency.- Returns:
- The provider's ID.
-
getProviderFinder
Get the provider's type for the dependency.- Returns:
- The provider's type.
-