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:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.List<E>
,java.util.RandomAccess
- Direct Known Subclasses:
TriggerDescriptorList
public class GenericDescriptorList<E extends UniqueTupleDescriptor> extends java.util.ArrayList<E>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
scanned
-
Constructor Summary
Constructors Constructor Description GenericDescriptorList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getScanned()
Return whether or not the underlying system table has been scanned.E
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, 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
-
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.
-
-