public class UniqueWithDuplicateNullsIndexSortObserver 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 |
---|
UniqueWithDuplicateNullsIndexSortObserver(boolean doClone,
boolean isConstraint,
java.lang.String indexOrConstraintName,
ExecRow execRow,
boolean reuseWrappers,
java.lang.String tableName)
Constructs an object of UniqueWithDuplicateNullsIndexSortObserver
|
Modifier and Type | Method and Description |
---|---|
DataValueDescriptor[] |
insertDuplicateKey(DataValueDescriptor[] in,
DataValueDescriptor[] dup)
Methods to check if the duplicate key can be inserted or not.
|
addToFreeList, getArrayClone, insertNonDuplicateKey
private boolean isConstraint
private java.lang.String indexOrConstraintName
private java.lang.String tableName
public UniqueWithDuplicateNullsIndexSortObserver(boolean doClone, boolean isConstraint, java.lang.String indexOrConstraintName, ExecRow execRow, boolean reuseWrappers, java.lang.String tableName)
doClone
- If true, then rows that are retained
by the sorter will be cloned. This is needed
if language is reusing row wrappers.isConstraint
- is this part of a constraintindexOrConstraintName
- name of index of constraintexecRow
- ExecRow to use as source of clone for store.reuseWrappers
- Whether or not we can reuse the wrapperstableName
- name of the tablepublic DataValueDescriptor[] insertDuplicateKey(DataValueDescriptor[] in, DataValueDescriptor[] dup) throws StandardException
insertDuplicateKey
in interface SortObserver
insertDuplicateKey
in class BasicSortObserver
in
- new keydup
- the new key is duplicate of this keyStandardException
- is the duplicate key has all non null partsApache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.