Top Fields Constructors Methods
org.apache.derby.iapi.sql.dictionary

public Class GenericDescriptorList<E extends UniqueTupleDescriptor>

extends ArrayList<E extends UniqueTupleDescriptor>
Class Inheritance
Known Direct Subclasses
org.apache.derby.iapi.sql.dictionary.TriggerDescriptorList
Imports
org.apache.derby.catalog.UUID, java.util.ArrayList

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

Where or not the underlying system table has been scanned.
getScanned
()

Return whether or not the underlying system table has been scanned.

public E

Returns:

The matching UniqueTupleDescriptor.
getUniqueTupleDescriptor
(UUID
The UUID for the object
uuid
)

Get the UniqueTupleDescriptor that matches the input uuid.

public void
setScanned(boolean
Whether or not the underlying system table has been scanned.
scanned
)

Mark whether or not the underlying system table has been scanned.

Inherited from java.util.ArrayList:
addaddaddAlladdAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Field Detail

scannedback to summary
private boolean scanned

Constructor Detail

GenericDescriptorListback to summary
public GenericDescriptorList()

Method Detail

getScannedback to summary
public boolean getScanned()

Return whether or not the underlying system table has been scanned.

Returns:boolean

Where or not the underlying system table has been scanned.

getUniqueTupleDescriptorback to summary
public E getUniqueTupleDescriptor(UUID uuid)

Get the UniqueTupleDescriptor that matches the input uuid.

Parameters
uuid:UUID

The UUID for the object

Returns:E

The matching UniqueTupleDescriptor.

setScannedback to summary
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:boolean

Whether or not the underlying system table has been scanned.