Class FixedWidthInPlaceVectorSorter<V extends BaseFixedWidthVector>

java.lang.Object
org.apache.arrow.algorithm.sort.FixedWidthInPlaceVectorSorter<V>
Type Parameters:
V - vector type.
All Implemented Interfaces:
InPlaceVectorSorter<V>

public class FixedWidthInPlaceVectorSorter<V extends BaseFixedWidthVector> extends Object implements InPlaceVectorSorter<V>
Default in-place sorter for fixed-width vectors. It is based on quick-sort, with average time complexity O(n*log(n)).
  • Field Details

    • CHANGE_ALGORITHM_THRESHOLD

      public static final int CHANGE_ALGORITHM_THRESHOLD
      If the number of items is smaller than this threshold, we will use another algorithm to sort the data.
      See Also:
  • Constructor Details

    • FixedWidthInPlaceVectorSorter

      public FixedWidthInPlaceVectorSorter()
  • Method Details