Package org.apache.arrow.algorithm.sort
Interface InPlaceVectorSorter<V extends ValueVector>
- Type Parameters:
V
- the vector type.
- All Known Implementing Classes:
FixedWidthInPlaceVectorSorter
public interface InPlaceVectorSorter<V extends ValueVector>
Basic interface for sorting a vector in-place. That is, the sorting is performed by modifying the
input vector, without creating a new sorted vector.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sortInPlace
(V vec, VectorValueComparator<V> comparator) Sort a vector in-place.
-
Method Details
-
sortInPlace
Sort a vector in-place.- Parameters:
vec
- the vector to sort.comparator
- the criteria for sort.
-