| 152 | } |
| 153 | |
| 154 | Status Resize(int64_t capacity) override { |
| 155 | ARROW_RETURN_NOT_OK(CheckCapacity(capacity)); |
| 156 | capacity = std::max(capacity, kMinBuilderCapacity); |
| 157 | ARROW_RETURN_NOT_OK(data_builder_.Resize(capacity)); |
| 158 | return ArrayBuilder::Resize(capacity); |
| 159 | } |
| 160 | |
| 161 | value_type operator[](int64_t index) const { return GetValue(index); } |
| 162 |
nothing calls this directly
no test coverage detected