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

Method TableSelector

cpp/src/arrow/compute/kernels/vector_select_k.cc:591–599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589
590 public:
591 TableSelector(ExecContext* ctx, const Table& table, const SelectKOptions& options,
592 Datum* output)
593 : TypeVisitor(),
594 ctx_(ctx),
595 table_(table),
596 k_(options.k),
597 output_(output),
598 sort_keys_(ResolveSortKeys(table, options.GetSortKeys(), &status_)),
599 comparator_(sort_keys_) {}
600
601 Status Run() {
602 RETURN_NOT_OK(status_);

Callers

nothing calls this directly

Calls 1

ResolveSortKeysFunction · 0.85

Tested by

no test coverage detected