MCPcopy Create free account
hub / github.com/apache/arrow / TableSorter

Method TableSorter

cpp/src/arrow/compute/kernels/vector_sort.cc:611–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609
610 public:
611 TableSorter(ExecContext* ctx, std::span<uint64_t> indices, const Table& table,
612 const SortOptions& options)
613 : ctx_(ctx),
614 table_(table),
615 batches_(MakeBatches(table, &status_)),
616 options_(options),
617 sort_keys_(ResolveSortKeys(table, batches_, options.GetSortKeys(), &status_)),
618 indices_(indices),
619 comparator_(sort_keys_) {}
620
621 // This is optimized for null partitioning and merging along the first sort key.
622 // Other sort keys are delegated to the Comparator class.

Callers

nothing calls this directly

Calls 1

ResolveSortKeysFunction · 0.85

Tested by

no test coverage detected