| 104 | } |
| 105 | |
| 106 | Status SelectionVector::MakeImmutableInt16( |
| 107 | int64_t num_slots, std::shared_ptr<arrow::Buffer> buffer, |
| 108 | std::shared_ptr<SelectionVector>* selection_vector) { |
| 109 | *selection_vector = |
| 110 | std::make_shared<SelectionVectorInt16>(num_slots, num_slots, buffer); |
| 111 | return Status::OK(); |
| 112 | } |
| 113 | |
| 114 | Status SelectionVector::MakeInt32(int64_t max_slots, |
| 115 | std::shared_ptr<arrow::Buffer> buffer, |