V
- vector type.public class FixedWidthOutOfPlaceVectorSorter<V extends BaseFixedWidthVector> extends Object implements OutOfPlaceVectorSorter<V>
Modifier and Type | Field and Description |
---|---|
protected IndexSorter<V> |
indexSorter |
Constructor and Description |
---|
FixedWidthOutOfPlaceVectorSorter() |
Modifier and Type | Method and Description |
---|---|
void |
sortOutOfPlace(V srcVector,
V dstVector,
VectorValueComparator<V> comparator)
Sort a vector out-of-place.
|
protected IndexSorter<V extends BaseFixedWidthVector> indexSorter
public void sortOutOfPlace(V srcVector, V dstVector, VectorValueComparator<V> comparator)
OutOfPlaceVectorSorter
sortOutOfPlace
in interface OutOfPlaceVectorSorter<V extends BaseFixedWidthVector>
srcVector
- the input vector.dstVector
- the output vector, which has the same size as the input vector.comparator
- the criteria for sort.Copyright © 2024 The Apache Software Foundation. All rights reserved.