org.apache.derby.iapi.sql.dictionary
Class ConglomerateDescriptorList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
- public class ConglomerateDescriptorList
- extends java.util.ArrayList
- See Also:
- Serialized Form
Nested classes inherited from class java.util.AbstractList |
|
Fields inherited from class java.util.ArrayList |
|
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, 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, remove, 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, remove, removeAll, retainAll, subList |
ConglomerateDescriptorList
public ConglomerateDescriptorList()
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:
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.
- Throws:
StandardException
- thrown on failure
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.