Class ConglomerateDescriptorList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<ConglomerateDescriptor>, Collection<ConglomerateDescriptor>, List<ConglomerateDescriptor>, RandomAccess, SequencedCollection<ConglomerateDescriptor>

public class ConglomerateDescriptorList extends ArrayList<ConglomerateDescriptor>
See Also:
  • Constructor Details

    • ConglomerateDescriptorList

      public ConglomerateDescriptorList()
  • Method Details

    • getConglomerateDescriptor

      public ConglomerateDescriptor getConglomerateDescriptor(long conglomerateNumber)
      Get a conglomerate descriptor by its number
      Parameters:
      conglomerateNumber - The number of the conglomerate we're looking for
      Returns:
      The ConglomerateDescriptor if found in this list, null if not found.
    • getConglomerateDescriptors

      public ConglomerateDescriptor[] getConglomerateDescriptors(long conglomerateNumber)
      Get an array of conglomerate descriptors with the given conglomerate number. We get more than one descriptors if duplicate indexes share one conglomerate.
      Parameters:
      conglomerateNumber - The number of the conglomerate
      Returns:
      Array of ConglomerateDescriptors if found in this list, size 0 array if not found.
    • getConglomerateDescriptor

      public ConglomerateDescriptor getConglomerateDescriptor(String conglomerateName)
      Get a conglomerate descriptor by its Name
      Parameters:
      conglomerateName - The Name of the conglomerate we're looking for
      Returns:
      The ConglomerateDescriptor if found in this list, null if not found.
    • getConglomerateDescriptor

      public ConglomerateDescriptor getConglomerateDescriptor(UUID uuid) throws StandardException
      Get a conglomerate descriptor by its UUID String
      Parameters:
      uuid - The UUID of the conglomerate we're looking for
      Returns:
      The ConglomerateDescriptor if found in this list, null if not found.
      Throws:
      StandardException - thrown on failure
    • getConglomerateDescriptors

      public ConglomerateDescriptor[] getConglomerateDescriptors(UUID uuid)
      Get an array of conglomerate descriptors by a UUID String. We get more than one descriptors if duplicate indexes share one conglomerate.
      Parameters:
      uuid - The UUID of the conglomerate
      Returns:
      Array of ConglomerateDescriptors if found in this list, size 0 array if not found.
    • dropConglomerateDescriptor

      public void dropConglomerateDescriptor(UUID tableID, ConglomerateDescriptor cgDesc) throws StandardException
      Remove the specified conglomerate descriptor from the conglomerate descriptor list. If the descriptor is not found, no errors are issued.
      Parameters:
      tableID - table uuid, ignored
      cgDesc - the conglomerate
      Throws:
      StandardException - thrown on failure
    • dropConglomerateDescriptorByUUID

      public void dropConglomerateDescriptorByUUID(UUID conglomerateID) throws StandardException
      Remove the specified conglomerate descriptor from the conglomerate descriptor list. If the descriptor is not found, no errors are issued.
      Parameters:
      conglomerateID - table uuid, ignored
      Throws:
      StandardException - thrown on failure