| 471 | } |
| 472 | |
| 473 | Status Resize(int64_t capacity) override { |
| 474 | ARROW_RETURN_NOT_OK(CheckCapacity(capacity)); |
| 475 | capacity = std::max(capacity, kMinBuilderCapacity); |
| 476 | ARROW_RETURN_NOT_OK(indices_builder_.Resize(capacity)); |
| 477 | capacity_ = indices_builder_.capacity(); |
| 478 | return Status::OK(); |
| 479 | } |
| 480 | |
| 481 | /// \brief Return dictionary indices and a delta dictionary since the last |
| 482 | /// time that Finish or FinishDelta were called, and reset state of builder |
no test coverage detected