| 343 | MemoryPool* pool_; |
| 344 | |
| 345 | Status VisitChildren(const ArrayDataVector& data_vector, FieldPosition parent_pos) { |
| 346 | int i = 0; |
| 347 | for (const auto& data : data_vector) { |
| 348 | // Some data entries may be missing if reading only a subset of the schema |
| 349 | if (data != nullptr) { |
| 350 | RETURN_NOT_OK(VisitField(parent_pos.child(i), data.get())); |
| 351 | } |
| 352 | ++i; |
| 353 | } |
| 354 | return Status::OK(); |
| 355 | } |
| 356 | |
| 357 | Status VisitField(FieldPosition field_pos, ArrayData* data) { |
| 358 | const DataType* type = data->type.get(); |
no test coverage detected