| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected int | Returns: 0 for duplicates non zero for distinct keyskeys r1, DataValueDescriptor[] keys r2)Overrides org. Compares two keys. |
| UniqueWithDuplicateNullsMergeSort | back to summary |
|---|---|
| pack-priv UniqueWithDuplicateNullsMergeSort() | |
| compare | back to summary |
|---|---|
| protected int compare(DataValueDescriptor[] r1, DataValueDescriptor[] r2) throws StandardException Overrides org. Compares two keys. If all the parts of the keys are not null then the leading (keys.length - 1) parts are compared, else if a part of the key is null then all parts of the key are compared (keys.length). This behavior is useful for implementing unique constraints where multiple null values are allowed, but uniqueness must still be guaranteed for keys with no null values. In this case the leading parts of the key are the user key columns, while the last column is a system provided column which is guaranteed unique per base row.
| |