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

Method FinishInternal

cpp/src/arrow/array/builder_decimal.cc:59–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59Status Decimal32Builder::FinishInternal(std::shared_ptr<ArrayData>* out) {
60 std::shared_ptr<Buffer> data;
61 RETURN_NOT_OK(byte_builder_.Finish(&data));
62 std::shared_ptr<Buffer> null_bitmap;
63 RETURN_NOT_OK(null_bitmap_builder_.Finish(&null_bitmap));
64
65 *out = ArrayData::Make(type(), length_, {null_bitmap, data}, null_count_);
66 capacity_ = length_ = null_count_ = 0;
67 return Status::OK();
68}
69
70// ----------------------------------------------------------------------
71// Decimal64Builder

Callers

nothing calls this directly

Calls 4

MakeFunction · 0.70
typeFunction · 0.70
OKFunction · 0.50
FinishMethod · 0.45

Tested by

no test coverage detected