| Modifier and Type | Field and Description |
|---|---|
| private final UUID | |
| private final boolean | |
| private final boolean | |
| private BackingStoreHashtable | |
| private final String | |
| private final LanguageConnectionContext | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | UniqueIndexSortObserver(LanguageConnectionContext lcc, UUID constraintId, boolean doClone, boolean deferrable, boolean deferred, String indexOrConstraintName, ExecRow execRow, boolean reuseWrappers, String tableName)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | deferrable()
Overrides org. Implements org. Overridden by subclasses that observe sorters with uniqueness checking. |
| public boolean | deferred()
Overrides org. Implements org. Overridden by subclasses that observe sorters with uniqueness checking. |
| public DataValueDescriptor[] | insertDuplicateKey(DataValueDescriptor[]
the current row that the sorter
is on the verge of retaining. It is a duplicate
of existingRow. in, DataValueDescriptor[] the row that is already in the
the sorter which is a duplicate of insertRow dup)Overrides org. Implements org. Called prior to inserting a duplicate sort key. |
| public void | rememberDuplicate(DataValueDescriptor[]
data of offending key row)Overrides org. Implements org. Overridden by subclasses that observe sorters with uniqueness checking. |
| constraintId | back to summary |
|---|---|
| private final UUID constraintId | |
| deferrable | back to summary |
|---|---|
| private final boolean deferrable | |
| deferred | back to summary |
|---|---|
| private final boolean deferred | |
| deferredDuplicates | back to summary |
|---|---|
| private BackingStoreHashtable deferredDuplicates | |
| indexOrConstraintName | back to summary |
|---|---|
| private final String indexOrConstraintName | |
| lcc | back to summary |
|---|---|
| private final LanguageConnectionContext lcc | |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| UniqueIndexSortObserver | back to summary |
|---|---|
| public UniqueIndexSortObserver(LanguageConnectionContext lcc, UUID constraintId, boolean doClone, boolean deferrable, boolean deferred, String indexOrConstraintName, ExecRow execRow, boolean reuseWrappers, String tableName) | |
| deferrable | back to summary |
|---|---|
| public boolean deferrable() Overrides org. Implements org. Doc from org. Overridden by subclasses that observe sorters with uniqueness checking.
| |
| deferred | back to summary |
|---|---|
| public boolean deferred() Overrides org. Implements org. Doc from org. Overridden by subclasses that observe sorters with uniqueness checking.
| |
| insertDuplicateKey | back to summary |
|---|---|
| public DataValueDescriptor[] insertDuplicateKey(DataValueDescriptor[] in, DataValueDescriptor[] dup) throws StandardException Overrides org. Implements org. Doc from org. Called prior to inserting a duplicate sort key.
| |
| rememberDuplicate | back to summary |
|---|---|
| public void rememberDuplicate(DataValueDescriptor[] row) throws StandardException Overrides org. Implements org. Doc from org. Overridden by subclasses that observe sorters with uniqueness checking. Will be called by sorters iff deferrable() and deferred() and uniqueness violation, so implementations that sometimes return true to these must implement this method to save duplicate information till commit time.
| |