| 482 | } |
| 483 | |
| 484 | Status Resize(int64_t capacity) override { |
| 485 | ARROW_RETURN_NOT_OK(CheckCapacity(capacity)); |
| 486 | capacity = std::max(capacity, kMinBuilderCapacity); |
| 487 | ARROW_RETURN_NOT_OK(indices_builder_.Resize(capacity)); |
| 488 | capacity_ = indices_builder_.capacity(); |
| 489 | return Status::OK(); |
| 490 | } |
| 491 | |
| 492 | /// \brief Return dictionary indices and a delta dictionary since the last |
| 493 | /// time that Finish or FinishDelta were called, and reset state of builder |
no test coverage detected