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

Method ArraySelector

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

Source from the content-addressed store, hash-verified

77class ArraySelector : public TypeVisitor {
78 public:
79 ArraySelector(ExecContext* ctx, const Array& array, const SelectKOptions& options,
80 Datum* output)
81 : TypeVisitor(),
82 ctx_(ctx),
83 array_(array),
84 k_(options.k),
85 order_(options.sort_keys[0].order),
86 physical_type_(GetPhysicalType(array.type())),
87 output_(output) {}
88
89 Status Run() { return physical_type_->Accept(this); }
90

Callers

nothing calls this directly

Calls 2

GetPhysicalTypeFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected