class UniqueIndexSortObserver extends BasicSortObserver
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
indexOrConstraintName |
private boolean |
isConstraint |
private java.lang.String |
tableName |
distinct, doClone
Constructor and Description |
---|
UniqueIndexSortObserver(boolean doClone,
boolean isConstraint,
java.lang.String indexOrConstraintName,
ExecRow execRow,
boolean reuseWrappers,
java.lang.String tableName) |
Modifier and Type | Method and Description |
---|---|
DataValueDescriptor[] |
insertDuplicateKey(DataValueDescriptor[] in,
DataValueDescriptor[] dup)
Called prior to inserting a duplicate sort
key.
|
addToFreeList, getArrayClone, insertNonDuplicateKey
private boolean isConstraint
private java.lang.String indexOrConstraintName
private java.lang.String tableName
public UniqueIndexSortObserver(boolean doClone, boolean isConstraint, java.lang.String indexOrConstraintName, ExecRow execRow, boolean reuseWrappers, java.lang.String tableName)
public DataValueDescriptor[] insertDuplicateKey(DataValueDescriptor[] in, DataValueDescriptor[] dup) throws StandardException
BasicSortObserver
insertDuplicateKey
in interface SortObserver
insertDuplicateKey
in class BasicSortObserver
in
- the current row that the sorter
is on the verge of retaining. It is a duplicate
of existingRow.dup
- the row that is already in the
the sorter which is a duplicate of insertRowStandardException
- Thrown on failureAggregateSortObserver.insertDuplicateKey(org.apache.derby.iapi.types.DataValueDescriptor[], org.apache.derby.iapi.types.DataValueDescriptor[])
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.