| 581 | } |
| 582 | |
| 583 | Result<std::shared_ptr<ArrayData>> CreateChild(const DataType& type, int i, |
| 584 | int64_t length) { |
| 585 | NullArrayFactory child_factory(pool_, type.field(i)->type(), length); |
| 586 | child_factory.buffer_ = buffer_; |
| 587 | return child_factory.Create(); |
| 588 | } |
| 589 | |
| 590 | MemoryPool* pool_; |
| 591 | const std::shared_ptr<DataType>& type_; |