public static class DefaultVectorComparators.NullComparator extends VectorValueComparator<NullVector>
NullVector.valueWidth, vector1, vector2| Constructor and Description |
|---|
NullComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(int index1,
int index2)
Compare two values, given their indices.
|
int |
compareNotNull(int index1,
int index2)
Compare two values, given their indices.
|
VectorValueComparator<NullVector> |
createNew()
Creates a comparator of the same type.
|
attachVector, attachVectors, checkNullsOnCompare, getValueWidthpublic int compare(int index1,
int index2)
VectorValueComparatorcompare in class VectorValueComparator<NullVector>index1 - index of the first value to compare.index2 - index of the second value to compare.public int compareNotNull(int index1,
int index2)
VectorValueComparatorcompareNotNull in class VectorValueComparator<NullVector>index1 - index of the first value to compare.index2 - index of the second value to compare.public VectorValueComparator<NullVector> createNew()
VectorValueComparatorcreateNew in class VectorValueComparator<NullVector>Copyright © 2024 The Apache Software Foundation. All rights reserved.