Class ConglomerateDescriptorList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ConglomerateDescriptor>
-
- org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<ConglomerateDescriptor>
,java.util.Collection<ConglomerateDescriptor>
,java.util.List<ConglomerateDescriptor>
,java.util.RandomAccess
public class ConglomerateDescriptorList extends java.util.ArrayList<ConglomerateDescriptor>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConglomerateDescriptorList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 numberConglomerateDescriptor
getConglomerateDescriptor(java.lang.String conglomerateName)
Get a conglomerate descriptor by its NameConglomerateDescriptor
getConglomerateDescriptor(UUID uuid)
Get a conglomerate descriptor by its UUID StringConglomerateDescriptor[]
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, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
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, ignoredcgDesc
- 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
-
-