| 107 | offsets_builder_(pool, alignment) {} |
| 108 | |
| 109 | Status AppendNull() final { |
| 110 | const int8_t first_child_code = type_codes_[0]; |
| 111 | ArrayBuilder* child_builder = type_id_to_children_[first_child_code]; |
| 112 | ARROW_RETURN_NOT_OK(types_builder_.Append(first_child_code)); |
| 113 | ARROW_RETURN_NOT_OK( |
| 114 | offsets_builder_.Append(static_cast<int32_t>(child_builder->length()))); |
| 115 | // Append a null arbitrarily to the first child |
| 116 | return child_builder->AppendNull(); |
| 117 | } |
| 118 | |
| 119 | Status AppendNulls(int64_t length) final { |
| 120 | const int8_t first_child_code = type_codes_[0]; |
no test coverage detected