| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ConstraintDescriptor | Returns: The matching ConstraintDescriptor.The constraint id. uuid)Drop the constraint with the given UUID. |
| public ConstraintDescriptor | Returns: The nth element in the list.Which element to return. n)Return the nth (0-based) element in the list. |
| public ConstraintDescriptor | Returns: The matching ConstraintDescriptor.The UUID for the backing index. indexUUID)Get the ConstraintDescriptor with the matching UUID String for the backing index. |
| public ConstraintDescriptor | Returns: The matching ConstraintDescriptor.The constraint id. uuid)Get the ConstraintDescriptor with the matching constraint id. |
| public ConstraintDescriptor | Returns: The matching ConstraintDescriptor.The constraint schema descriptor. sd, String The constraint name. name)Get the ConstraintDescriptor with the matching constraint name. |
| public ConstraintDescriptorList | Returns: a constraint descriptor list built from this. Always a new list even if all the elements in this were of the correct type (i.e. not optimized for the case where every element is desired).true or false enforced)Return a list of constraints where enforced is as passed in. |
| public ReferencedKeyConstraintDescriptor | Returns: The matching ConstraintDescriptor.Get the ConstraintDescriptor with the matching constraint name. |
| public boolean | Returns: Where or not the underlying system table has been scanned.Return whether or not the underlying system table has been scanned. |
| public ConstraintDescriptorList | Returns: A ConstraintDescriptorList containing the ConstraintDescriptors of the specified type that are in this list.The constraint type. type)Return a ConstraintDescriptorList containing the ConstraintDescriptors of the specified type that are in this list. |
| 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. |
| scanned | back to summary |
|---|---|
| private boolean scanned | |
| ConstraintDescriptorList | back to summary |
|---|---|
| public ConstraintDescriptorList() | |
| dropConstraintDescriptorById | back to summary |
|---|---|
| public ConstraintDescriptor dropConstraintDescriptorById(UUID uuid) Drop the constraint with the given UUID.
| |
| elementAt | back to summary |
|---|---|
| public ConstraintDescriptor elementAt(int n) Return the nth (0-based) element in the list.
| |
| getConstraintDescriptor | back to summary |
|---|---|
| public ConstraintDescriptor getConstraintDescriptor(UUID indexUUID) Get the ConstraintDescriptor with the matching UUID String for the backing index.
| |
| getConstraintDescriptorById | back to summary |
|---|---|
| public ConstraintDescriptor getConstraintDescriptorById(UUID uuid) Get the ConstraintDescriptor with the matching constraint id.
| |
| getConstraintDescriptorByName | back to summary |
|---|---|
| public ConstraintDescriptor getConstraintDescriptorByName(SchemaDescriptor sd, String name) Get the ConstraintDescriptor with the matching constraint name.
| |
| getConstraintDescriptorList | back to summary |
|---|---|
| public ConstraintDescriptorList getConstraintDescriptorList(boolean enforced) Return a list of constraints where enforced is as passed in.
| |
| getPrimaryKey | back to summary |
|---|---|
| public ReferencedKeyConstraintDescriptor getPrimaryKey() Get the ConstraintDescriptor with the matching constraint name.
| |
| getScanned | back to summary |
|---|---|
| public boolean getScanned() Return whether or not the underlying system table has been scanned.
| |
| getSubList | back to summary |
|---|---|
| public ConstraintDescriptorList getSubList(int type) Return a ConstraintDescriptorList containing the ConstraintDescriptors of the specified type that are in this list.
| |
| setScanned | back 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.
| |