| 112 | } |
| 113 | |
| 114 | Status SelectionVector::MakeInt32(int64_t max_slots, |
| 115 | std::shared_ptr<arrow::Buffer> buffer, |
| 116 | std::shared_ptr<SelectionVector>* selection_vector) { |
| 117 | ARROW_RETURN_NOT_OK(SelectionVectorInt32::ValidateBuffer(max_slots, buffer)); |
| 118 | *selection_vector = std::make_shared<SelectionVectorInt32>(max_slots, buffer); |
| 119 | |
| 120 | return Status::OK(); |
| 121 | } |
| 122 | |
| 123 | Status SelectionVector::MakeInt32(int64_t max_slots, arrow::MemoryPool* pool, |
| 124 | std::shared_ptr<SelectionVector>* selection_vector) { |
nothing calls this directly
no test coverage detected