Module arrow_ord::sort

source ·
Expand description

Defines sort kernel for ArrayRef

Structs

  • A lexicographical comparator that wraps given array data (columns) and can lexicographically compare data at given two indices. The lifetime is the same at the data wrapped.
  • One column to be used in lexicographical sort
  • Options that define the sort order of a given column

Functions

  • Sort a list of ArrayRef using SortOptions provided for each array.
  • Sort elements lexicographically from a list of ArrayRef into an unsigned integer (UInt32Array) of indices.
  • It’s unstable_sort, may not preserve the order of equal elements
  • Sort the ArrayRef using SortOptions.
  • Sort the ArrayRef partially.
  • Sort elements from ArrayRef into an unsigned integer (UInt32Array) of indices. For floating point arrays any NaN values are considered to be greater than any other non-null value. limit is an option for partial_sort.