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

Method FinishInternal

cpp/src/arrow/array/builder_nested.cc:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102Status MapBuilder::FinishInternal(std::shared_ptr<ArrayData>* out) {
103 ARROW_CHECK_EQ(item_builder_->length(), key_builder_->length())
104 << "keys and items builders don't have the same size in MapBuilder";
105 RETURN_NOT_OK(AdjustStructBuilderLength());
106 RETURN_NOT_OK(list_builder_->FinishInternal(out));
107 (*out)->type = type();
108 ArrayBuilder::Reset();
109 return Status::OK();
110}
111
112Status MapBuilder::AppendValues(const int32_t* offsets, int64_t length,
113 const uint8_t* valid_bytes) {

Callers

nothing calls this directly

Calls 8

typeFunction · 0.70
ResetFunction · 0.70
MakeFunction · 0.70
OKFunction · 0.50
lengthMethod · 0.45
ResizeMethod · 0.45
FinishMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected