Class GenericDescriptorList<E extends UniqueTupleDescriptor>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.apache.derby.iapi.sql.dictionary.GenericDescriptorList<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,List<E>
,RandomAccess
,SequencedCollection<E>
- Direct Known Subclasses:
TriggerDescriptorList
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether or not the underlying system table has been scanned.getUniqueTupleDescriptor
(UUID uuid) Get the UniqueTupleDescriptor that matches the input uuid.void
setScanned
(boolean scanned) Mark whether or not the underlying system table has been scanned.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
-
Field Details
-
scanned
private boolean scanned
-
-
Constructor Details
-
GenericDescriptorList
public GenericDescriptorList()
-
-
Method Details
-
setScanned
public void setScanned(boolean scanned) Mark whether or not the underlying system table has been scanned. (If a table does not have any constraints then the size of its CDL will always be 0. We used these get/set methods to determine when we need to scan the table.- Parameters:
scanned
- Whether or not the underlying system table has been scanned.
-
getScanned
public boolean getScanned()Return whether or not the underlying system table has been scanned.- Returns:
- Where or not the underlying system table has been scanned.
-
getUniqueTupleDescriptor
Get the UniqueTupleDescriptor that matches the input uuid.- Parameters:
uuid
- The UUID for the object- Returns:
- The matching UniqueTupleDescriptor.
-