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

Method ArraySelector

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

Source from the content-addressed store, hash-verified

157class ArraySelector : public TypeVisitor {
158 public:
159 ArraySelector(ExecContext* ctx, const Array& array, const SelectKOptions& options,
160 Datum* output)
161 : TypeVisitor(),
162 ctx_(ctx),
163 array_(array),
164 k_(options.k),
165 order_(options.GetSortKeys()[0].order),
166 null_placement_(options.GetSortKeys()[0].null_placement),
167 physical_type_(GetPhysicalType(array.type())),
168 output_(output) {}
169
170 Status Run() { return physical_type_->Accept(this); }
171

Callers

nothing calls this directly

Calls 2

GetPhysicalTypeFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected