V
- vector type.public class GeneralOutOfPlaceVectorSorter<V extends ValueVector> extends Object implements OutOfPlaceVectorSorter<V>
FixedWidthInPlaceVectorSorter
),
it should be used in preference.Constructor and Description |
---|
GeneralOutOfPlaceVectorSorter() |
Modifier and Type | Method and Description |
---|---|
void |
sortOutOfPlace(V srcVector,
V dstVector,
VectorValueComparator<V> comparator)
Sort a vector out-of-place.
|
public void sortOutOfPlace(V srcVector, V dstVector, VectorValueComparator<V> comparator)
OutOfPlaceVectorSorter
sortOutOfPlace
in interface OutOfPlaceVectorSorter<V extends ValueVector>
srcVector
- the input vector.dstVector
- the output vector, which has the same size as the input vector.comparator
- the criteria for sort.Copyright © 2023 The Apache Software Foundation. All rights reserved.