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 AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether or not the underlying system table has been scanned.getUniqueTupleDescriptor(UUID uuid) Get the UniqueTupleDescriptor that matches the input uuid.voidsetScanned(boolean scanned) Mark whether or not the underlying system table has been scanned.Methods inherited from class 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, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface 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
-