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

Method CreateChild

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

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 3

typeMethod · 0.45
fieldMethod · 0.45
CreateMethod · 0.45

Tested by

no test coverage detected