Package org.apache.arrow.algorithm.sort
Class DefaultVectorComparators
java.lang.Object
org.apache.arrow.algorithm.sort.DefaultVectorComparators
Default comparator implementations for different types of vectors.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Default comparator for bit type.static class
Default comparator for bytes.static class
Default comparator for DateDay type.static class
Default comparator for DateMilli type.static class
Default comparator for Decimal256 type.static class
Default comparator for Decimal type.static class
Default comparator for Duration type.static class
Default comparator forFixedSizeBinaryVector
.static class
Default comparator forRepeatedValueVector
.static class
Default comparator for float type.static class
Default comparator for double type.static class
Default comparator for 32-bit integers.static class
Default comparator for IntervalDay type.static class
Default comparator for long integers.static class
Default comparator forNullVector
.static class
Default comparator forRepeatedValueVector
.static class
Default comparator for short integers.static class
Default comparator for TimeMicro type.static class
Default comparator for TimeMilli type.static class
Default comparator for TimeNano type.static class
Default comparator for TimeSec type.static class
Default comparator for TimeSec type.static class
Default comparator for unsigned bytes.static class
Default comparator for unsigned short integer.static class
Default comparator for unsigned integer.static class
Default comparator for unsigned long integer.static class
Default comparator forVariableWidthVector
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ValueVector>
VectorValueComparator<T>createDefaultComparator
(T vector) Create the default comparator for the vector.
-
Method Details
-
createDefaultComparator
Create the default comparator for the vector.- Type Parameters:
T
- the vector type.- Parameters:
vector
- the vector.- Returns:
- the default comparator.
-