V
- vector type.public class FixedWidthInPlaceVectorSorter<V extends BaseFixedWidthVector> extends Object implements InPlaceVectorSorter<V>
Modifier and Type | Field and Description |
---|---|
static int |
CHANGE_ALGORITHM_THRESHOLD
If the number of items is smaller than this threshold, we will use another algorithm to sort the data.
|
Constructor and Description |
---|
FixedWidthInPlaceVectorSorter() |
Modifier and Type | Method and Description |
---|---|
void |
sortInPlace(V vec,
VectorValueComparator<V> comparator)
Sort a vector in-place.
|
public static final int CHANGE_ALGORITHM_THRESHOLD
public void sortInPlace(V vec, VectorValueComparator<V> comparator)
InPlaceVectorSorter
sortInPlace
in interface InPlaceVectorSorter<V extends BaseFixedWidthVector>
vec
- the vector to sort.comparator
- the criteria for sort.Copyright © 2023 The Apache Software Foundation. All rights reserved.