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
-
public class DependencyDescriptor extends UniqueTupleDescriptor
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
Fields Modifier and Type Field Description private DependableFinder
dependentBloodhound
private UUID
dependentID
public interface for this class is: public DependableFinder getDependentFinder(); public UUID getProviderID(); public DependableFinder getProviderFinder();private DependableFinder
providerBloodhound
private UUID
providerID
-
Constructor Summary
Constructors Constructor Description DependencyDescriptor(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound)
Constructor for a DependencyDescriptorDependencyDescriptor(Dependent dependent, Provider provider)
Constructor for a DependencyDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DependableFinder
getDependentFinder()
Get the dependent's type for the dependency.DependableFinder
getProviderFinder()
Get the provider's type for the dependency.UUID
getProviderID()
Get the provider's ID for the dependency.UUID
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 Detail
-
dependentID
private final UUID dependentID
public interface for this class is:- public DependableFinder getDependentFinder();
- public UUID getProviderID();
- public DependableFinder getProviderFinder();
-
dependentBloodhound
private final DependableFinder dependentBloodhound
-
providerID
private final UUID providerID
-
providerBloodhound
private final DependableFinder providerBloodhound
-
-
Constructor Detail
-
DependencyDescriptor
public DependencyDescriptor(Dependent dependent, Provider provider)
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 Detail
-
getUUID
public UUID getUUID()
Get the dependent's ID for the dependency.- Specified by:
getUUID
in classUniqueTupleDescriptor
- Returns:
- The dependent's ID.
-
getDependentFinder
public DependableFinder getDependentFinder()
Get the dependent's type for the dependency.- Returns:
- The dependent's type.
-
getProviderID
public UUID getProviderID()
Get the provider's ID for the dependency.- Returns:
- The provider's ID.
-
getProviderFinder
public DependableFinder getProviderFinder()
Get the provider's type for the dependency.- Returns:
- The provider's type.
-
-