org.apache.derby.iapi.sql.dictionary
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.
-
-
Constructor Summary
Constructors Constructor and Description DependencyDescriptor(Dependent dependent, Provider provider)Constructor for a DependencyDescriptorDependencyDescriptor(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound)Constructor for a DependencyDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DependableFindergetDependentFinder()Get the dependent's type for the dependency.DependableFindergetProviderFinder()Get the provider's type for the dependency.UUIDgetProviderID()Get the provider's ID for the dependency.UUIDgetUUID()Get the dependent's ID for the dependency.-
Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor
getDescriptorName, getDescriptorType, isPersistent
-
-
-
-
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:
getUUIDin 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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG