| 127 | } |
| 128 | |
| 129 | Status AppendEmptyValue() final { |
| 130 | const int8_t first_child_code = type_codes_[0]; |
| 131 | ArrayBuilder* child_builder = type_id_to_children_[first_child_code]; |
| 132 | ARROW_RETURN_NOT_OK(types_builder_.Append(first_child_code)); |
| 133 | ARROW_RETURN_NOT_OK( |
| 134 | offsets_builder_.Append(static_cast<int32_t>(child_builder->length()))); |
| 135 | // Append an empty value arbitrarily to the first child |
| 136 | return child_builder->AppendEmptyValue(); |
| 137 | } |
| 138 | |
| 139 | Status AppendEmptyValues(int64_t length) final { |
| 140 | const int8_t first_child_code = type_codes_[0]; |
nothing calls this directly
no test coverage detected