Top Description Fields Constructors Methods
org.apache.derby.iapi.sql.dictionary

public Class DependencyDescriptor

extends UniqueTupleDescriptor
Class Inheritance
Imports
org.apache.derby.catalog.DependableFinder, .UUID, org.apache.derby.iapi.sql.depend.Dependent, .Provider

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

Modifier and TypeField and Description
private final DependableFinder
private final UUID
dependentID

public interface for this class is:

  1. public DependableFinder getDependentFinder();
  2. public UUID getProviderID();
  3. public DependableFinder getProviderFinder();
private final DependableFinder
private final UUID

Constructor Summary

AccessConstructor and Description
public
DependencyDescriptor(Dependent
The Dependent
dependent
,
Provider
The Provider
provider
)

Constructor for a DependencyDescriptor

public
DependencyDescriptor(UUID
The Dependent ID
dependentID
,
DependableFinder
The bloodhound for finding the Dependent
dependentBloodhound
,
UUID
The Provider ID
providerID
,
DependableFinder
The bloodhound for finding the Provider
providerBloodhound
)

Constructor for a DependencyDescriptor

Method Summary

Modifier and TypeMethod and Description
public DependableFinder

Returns:

The dependent's type.
getDependentFinder
()

Get the dependent's type for the dependency.

public DependableFinder

Returns:

The provider's type.
getProviderFinder
()

Get the provider's type for the dependency.

public UUID

Returns:

The provider's ID.
getProviderID
()

Get the provider's ID for the dependency.

public UUID

Returns:

The dependent's ID.
getUUID
()

Implements abstract org.apache.derby.iapi.sql.dictionary.UniqueTupleDescriptor.getUUID.

Get the dependent's ID for the dependency.

Field Detail

dependentBloodhoundback to summary
private final DependableFinder dependentBloodhound
dependentIDback to summary
private final UUID dependentID

public interface for this class is:

  1. public DependableFinder getDependentFinder();
  2. public UUID getProviderID();
  3. public DependableFinder getProviderFinder();
providerBloodhoundback to summary
private final DependableFinder providerBloodhound
providerIDback to summary
private final UUID providerID

Constructor Detail

DependencyDescriptorback to summary
public DependencyDescriptor(Dependent dependent, Provider provider)

Constructor for a DependencyDescriptor

Parameters
dependent:Dependent

The Dependent

provider:Provider

The Provider

DependencyDescriptorback to summary
public DependencyDescriptor(UUID dependentID, DependableFinder dependentBloodhound, UUID providerID, DependableFinder providerBloodhound)

Constructor for a DependencyDescriptor

Parameters
dependentID:UUID

The Dependent ID

dependentBloodhound:DependableFinder

The bloodhound for finding the Dependent

providerID:UUID

The Provider ID

providerBloodhound:DependableFinder

The bloodhound for finding the Provider

Method Detail

getDependentFinderback to summary
public DependableFinder getDependentFinder()

Get the dependent's type for the dependency.

Returns:DependableFinder

The dependent's type.

getProviderFinderback to summary
public DependableFinder getProviderFinder()

Get the provider's type for the dependency.

Returns:DependableFinder

The provider's type.

getProviderIDback to summary
public UUID getProviderID()

Get the provider's ID for the dependency.

Returns:UUID

The provider's ID.

getUUIDback to summary
public UUID getUUID()

Implements abstract org.apache.derby.iapi.sql.dictionary.UniqueTupleDescriptor.getUUID.

Get the dependent's ID for the dependency.

Returns:UUID

The dependent's ID.