| 73 | } |
| 74 | |
| 75 | Status AppendEmptyValues(int64_t length) final { |
| 76 | ARROW_RETURN_NOT_OK(CommitPendingData()); |
| 77 | if (ARROW_PREDICT_TRUE(length > 0)) { |
| 78 | ARROW_RETURN_NOT_OK(Reserve(length)); |
| 79 | memset(data_->mutable_data() + length_ * int_size_, 0, int_size_ * length); |
| 80 | UnsafeSetNotNull(length); |
| 81 | } |
| 82 | return Status::OK(); |
| 83 | } |
| 84 | |
| 85 | Status AppendEmptyValue() final { |
| 86 | pending_data_[pending_pos_] = 0; |
nothing calls this directly
no test coverage detected