org.apache.derby.iapi.sql.dictionary
Class ConglomerateDescriptorList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class ConglomerateDescriptorList
extends java.util.ArrayList

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ConglomerateDescriptorList()
           
 
Method Summary
 void dropConglomerateDescriptor(UUID tableID, ConglomerateDescriptor cgDesc)
          Remove the specified conglomerate descriptor from the conglomerate descriptor list.
 void dropConglomerateDescriptorByUUID(UUID conglomerateID)
          Remove the specified conglomerate descriptor from the conglomerate descriptor list.
 ConglomerateDescriptor getConglomerateDescriptor(long conglomerateNumber)
          Get a conglomerate descriptor by its number
 ConglomerateDescriptor getConglomerateDescriptor(java.lang.String conglomerateName)
          Get a conglomerate descriptor by its Name
 ConglomerateDescriptor getConglomerateDescriptor(UUID uuid)
          Get a conglomerate descriptor by its UUID String
 ConglomerateDescriptor[] getConglomerateDescriptors(long conglomerateNumber)
          Get an array of conglomerate descriptors with the given conglomerate number.
 ConglomerateDescriptor[] getConglomerateDescriptors(UUID uuid)
          Get an array of conglomerate descriptors by a UUID String.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ConglomerateDescriptorList

public ConglomerateDescriptorList()
Method Detail

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(java.lang.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

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.