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

Method ArraySelector

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

Source from the content-addressed store, hash-verified

191class ArraySelector : public TypeVisitor {
192 public:
193 ArraySelector(ExecContext* ctx, const Array& array, const SelectKOptions& options,
194 Datum* output)
195 : TypeVisitor(),
196 ctx_(ctx),
197 array_(array),
198 k_(options.k),
199 order_(options.GetSortKeys()[0].order),
200 null_placement_(options.GetSortKeys()[0].null_placement),
201 physical_type_(GetPhysicalType(array.type())),
202 output_(output) {}
203
204 Status Run() { return physical_type_->Accept(this); }
205

Callers

nothing calls this directly

Calls 2

GetPhysicalTypeFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected