Class GenericDescriptorList<E extends UniqueTupleDescriptor>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.apache.derby.iapi.sql.dictionary.GenericDescriptorList<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>
Direct Known Subclasses:
TriggerDescriptorList

public class GenericDescriptorList<E extends UniqueTupleDescriptor> extends ArrayList<E>
See Also:
  • Field Details

    • scanned

      private boolean scanned
  • Constructor Details

    • GenericDescriptorList

      public GenericDescriptorList()
  • Method Details

    • setScanned

      public void setScanned(boolean scanned)
      Mark whether or not the underlying system table has been scanned. (If a table does not have any constraints then the size of its CDL will always be 0. We used these get/set methods to determine when we need to scan the table.
      Parameters:
      scanned - Whether or not the underlying system table has been scanned.
    • getScanned

      public boolean getScanned()
      Return whether or not the underlying system table has been scanned.
      Returns:
      Where or not the underlying system table has been scanned.
    • getUniqueTupleDescriptor

      public E getUniqueTupleDescriptor(UUID uuid)
      Get the UniqueTupleDescriptor that matches the input uuid.
      Parameters:
      uuid - The UUID for the object
      Returns:
      The matching UniqueTupleDescriptor.