| 40 | int_size_(start_int_size) {} |
| 41 | |
| 42 | void AdaptiveIntBuilderBase::Reset() { |
| 43 | ArrayBuilder::Reset(); |
| 44 | data_.reset(); |
| 45 | raw_data_ = nullptr; |
| 46 | pending_pos_ = 0; |
| 47 | pending_has_nulls_ = false; |
| 48 | int_size_ = start_int_size_; |
| 49 | } |
| 50 | |
| 51 | Status AdaptiveIntBuilderBase::Resize(int64_t capacity) { |
| 52 | RETURN_NOT_OK(CheckCapacity(capacity)); |