MCPcopy Create free account
hub / github.com/apache/arrow / CreateChild

Method CreateChild

cpp/src/arrow/array/util.cc:584–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

typeMethod · 0.45
fieldMethod · 0.45
CreateMethod · 0.45

Tested by

no test coverage detected