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

Method FinishInternal

cpp/src/arrow/array/builder_primitive.h:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 Status FinishInternal(std::shared_ptr<ArrayData>* out) override {
236 ARROW_ASSIGN_OR_RAISE(auto null_bitmap,
237 null_bitmap_builder_.FinishWithLength(length_));
238 ARROW_ASSIGN_OR_RAISE(auto data, data_builder_.FinishWithLength(length_));
239 *out = ArrayData::Make(type(), length_, {null_bitmap, data}, null_count_);
240 capacity_ = length_ = null_count_ = 0;
241 return Status::OK();
242 }
243
244 /// \cond FALSE
245 using ArrayBuilder::Finish;

Callers

nothing calls this directly

Calls 3

MakeFunction · 0.70
typeFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected