Class ConglomerateDescriptorList
java.lang.Object
java.util.AbstractCollection<ConglomerateDescriptor>
java.util.AbstractList<ConglomerateDescriptor>
java.util.ArrayList<ConglomerateDescriptor>
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ConglomerateDescriptor>
,Collection<ConglomerateDescriptor>
,List<ConglomerateDescriptor>
,RandomAccess
,SequencedCollection<ConglomerateDescriptor>
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.getConglomerateDescriptor
(long conglomerateNumber) Get a conglomerate descriptor by its numbergetConglomerateDescriptor
(String conglomerateName) Get a conglomerate descriptor by its NameGet a conglomerate descriptor by its UUID StringgetConglomerateDescriptors
(long conglomerateNumber) Get an array of conglomerate descriptors with the given conglomerate number.Get an array of conglomerate descriptors by a UUID String.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
ConglomerateDescriptorList
public ConglomerateDescriptorList()
-
-
Method Details
-
getConglomerateDescriptor
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
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
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
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
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
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
-