| 117 | } |
| 118 | |
| 119 | Status AppendNulls(int64_t length) final { |
| 120 | const int8_t first_child_code = type_codes_[0]; |
| 121 | ArrayBuilder* child_builder = type_id_to_children_[first_child_code]; |
| 122 | ARROW_RETURN_NOT_OK(types_builder_.Append(length, first_child_code)); |
| 123 | ARROW_RETURN_NOT_OK( |
| 124 | offsets_builder_.Append(length, static_cast<int32_t>(child_builder->length()))); |
| 125 | // Append just a single null to the first child |
| 126 | return child_builder->AppendNull(); |
| 127 | } |
| 128 | |
| 129 | Status AppendEmptyValue() final { |
| 130 | const int8_t first_child_code = type_codes_[0]; |
no test coverage detected