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

Method Append

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

Source from the content-addressed store, hash-verified

120}
121
122Status MapBuilder::Append() {
123 DCHECK_EQ(item_builder_->length(), key_builder_->length());
124 RETURN_NOT_OK(AdjustStructBuilderLength());
125 RETURN_NOT_OK(list_builder_->Append());
126 length_ = list_builder_->length();
127 return Status::OK();
128}
129
130Status MapBuilder::AppendNull() {
131 DCHECK_EQ(item_builder_->length(), key_builder_->length());

Callers 15

TestSliceGetStringMethod · 0.45
TestScalarAppendMethod · 0.45
TestExtendCurrentMethod · 0.45
TestCapacityReserveMethod · 0.45
TestOverflowCheckMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
AppendValuesMethod · 0.45
AppendNullFunction · 0.45
AppendNullsFunction · 0.45

Calls 4

UnsafeAppendToBitmapFunction · 0.85
ReserveFunction · 0.70
OKFunction · 0.50
lengthMethod · 0.45

Tested by 15

TestSliceGetStringMethod · 0.36
TestScalarAppendMethod · 0.36
TestExtendCurrentMethod · 0.36
TestCapacityReserveMethod · 0.36
TestOverflowCheckMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
AppendIntMethod · 0.36
AppendStringMethod · 0.36
AppendDoubleMethod · 0.36
AppendListOfInferredMethod · 0.36