| 110 | } |
| 111 | |
| 112 | Status MapBuilder::AppendValues(const int32_t* offsets, int64_t length, |
| 113 | const uint8_t* valid_bytes) { |
| 114 | DCHECK_EQ(item_builder_->length(), key_builder_->length()); |
| 115 | RETURN_NOT_OK(AdjustStructBuilderLength()); |
| 116 | RETURN_NOT_OK(list_builder_->AppendValues(offsets, length, valid_bytes)); |
| 117 | length_ = list_builder_->length(); |
| 118 | null_count_ = list_builder_->null_count(); |
| 119 | return Status::OK(); |
| 120 | } |
| 121 | |
| 122 | Status MapBuilder::Append() { |
| 123 | DCHECK_EQ(item_builder_->length(), key_builder_->length()); |