Module sort
Expand description
Defines sort kernel for ArrayRef
Structs§
- Lexicographical
Comparator - 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.
- Sort
Column - One column to be used in lexicographical sort
- Sort
Options - Options that define the sort order of a given column
Functions§
- lexsort
- Sort a list of
ArrayRef
usingSortOptions
provided for each array. - lexsort_
to_ indices - Sort elements lexicographically from a list of
ArrayRef
into an unsigned integer (UInt32Array
) of indices. - partial_
sort - It’s unstable_sort, may not preserve the order of equal elements
- sort
- Sort the
ArrayRef
usingSortOptions
. - sort_
limit - Sort the
ArrayRef
partially. - sort_
to_ indices - Sort elements from
ArrayRef
into an unsigned integer (UInt32Array
) of indices. Floats are sorted using IEEE 754 totalOrder.limit
is an option for partial_sort.