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

Method AppendEmptyValue

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

Source from the content-addressed store, hash-verified

146}
147
148Status MapBuilder::AppendEmptyValue() {
149 DCHECK_EQ(item_builder_->length(), key_builder_->length());
150 RETURN_NOT_OK(AdjustStructBuilderLength());
151 RETURN_NOT_OK(list_builder_->AppendEmptyValue());
152 length_ = list_builder_->length();
153 null_count_ = list_builder_->null_count();
154 return Status::OK();
155}
156
157Status MapBuilder::AppendEmptyValues(int64_t length) {
158 DCHECK_EQ(item_builder_->length(), key_builder_->length());

Callers 12

AppendEmptyValueFunction · 0.45
AppendEmptyValueFunction · 0.45
AppendEmptyValuesFunction · 0.45
AppendNullFunction · 0.45
AppendIntMethod · 0.45
AppendStringMethod · 0.45
AppendDoubleMethod · 0.45
TYPED_TESTFunction · 0.45
TEST_FFunction · 0.45
AppendEmptyValuesMethod · 0.45

Calls 6

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

Tested by 6

AppendIntMethod · 0.36
AppendStringMethod · 0.36
AppendDoubleMethod · 0.36
TYPED_TESTFunction · 0.36
TEST_FFunction · 0.36