Class 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 Detail

      • dependentID

        private final UUID dependentID
        public interface for this class is:
        1. public DependableFinder getDependentFinder();
        2. public UUID getProviderID();
        3. public DependableFinder getProviderFinder();
      • providerID

        private final UUID providerID
    • Constructor Detail

      • DependencyDescriptor

        public DependencyDescriptor​(Dependent dependent,
                                    Provider provider)
        Constructor for a DependencyDescriptor
        Parameters:
        dependent - The Dependent
        provider - The Provider
      • DependencyDescriptor

        public DependencyDescriptor​(UUID dependentID,
                                    DependableFinder dependentBloodhound,
                                    UUID providerID,
                                    DependableFinder providerBloodhound)
        Constructor for a DependencyDescriptor
        Parameters:
        dependentID - The Dependent ID
        dependentBloodhound - The bloodhound for finding the Dependent
        providerID - The Provider ID
        providerBloodhound - The bloodhound for finding the Provider
    • Method Detail

      • getUUID

        public UUID getUUID()
        Get the dependent's ID for the dependency.
        Specified by:
        getUUID in class UniqueTupleDescriptor
        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.