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