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

Function DenseUnionBuilder

cpp/src/arrow/array/builder_union.h:102–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 /// Use this constructor to specify the type explicitly.
101 /// You can still add child builders to the union after using this constructor
102 DenseUnionBuilder(MemoryPool* pool,
103 const std::vector<std::shared_ptr<ArrayBuilder>>& children,
104 const std::shared_ptr<DataType>& type,
105 int64_t alignment = kDefaultBufferAlignment)
106 : BasicUnionBuilder(pool, alignment, children, type),
107 offsets_builder_(pool, alignment) {}
108
109 Status AppendNull() final {
110 const int8_t first_child_code = type_codes_[0];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected