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