| 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. |
nothing calls this directly
no test coverage detected