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

Method AppendNull

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

Source from the content-addressed store, hash-verified

128}
129
130Status MapBuilder::AppendNull() {
131 DCHECK_EQ(item_builder_->length(), key_builder_->length());
132 RETURN_NOT_OK(AdjustStructBuilderLength());
133 RETURN_NOT_OK(list_builder_->AppendNull());
134 length_ = list_builder_->length();
135 null_count_ = list_builder_->null_count();
136 return Status::OK();
137}
138
139Status MapBuilder::AppendNulls(int64_t length) {
140 DCHECK_EQ(item_builder_->length(), key_builder_->length());

Callers 15

VisitBinaryMethod · 0.45
VisitMethod · 0.45
VisitStringMethod · 0.45
ExtendMaskedMethod · 0.45
AppendMethod · 0.45
AppendMethod · 0.45
AppendMethod · 0.45
AppendMethod · 0.45

Calls 6

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

Tested by 15

AppendValuesFunction · 0.36
AppendListFunction · 0.36
AppendRowMethod · 0.36
CheckPrimitiveFunction · 0.36
GetArrayFunction · 0.36
TESTFunction · 0.36
TestScalarAppendMethod · 0.36
TestExtendCurrentMethod · 0.36
TestOverflowCheckMethod · 0.36
TEST_FFunction · 0.36