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

Method AppendValues

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

Source from the content-addressed store, hash-verified

110}
111
112Status MapBuilder::AppendValues(const int32_t* offsets, int64_t length,
113 const uint8_t* valid_bytes) {
114 DCHECK_EQ(item_builder_->length(), key_builder_->length());
115 RETURN_NOT_OK(AdjustStructBuilderLength());
116 RETURN_NOT_OK(list_builder_->AppendValues(offsets, length, valid_bytes));
117 length_ = list_builder_->length();
118 null_count_ = list_builder_->null_count();
119 return Status::OK();
120}
121
122Status MapBuilder::Append() {
123 DCHECK_EQ(item_builder_->length(), key_builder_->length());

Callers 15

BuildIntArrayNoNullsFunction · 0.45
BuildAdaptiveIntNoNullsFunction · 0.45
BuildBooleanArrayNoNullsFunction · 0.45
AppendRowMethod · 0.45
AppendStructBatchFunction · 0.45
AppendNumericBatchFunction · 0.45
AppendNumericBatchCastFunction · 0.45
AppendBoolBatchFunction · 0.45
AppendTimestampBatchFunction · 0.45
RunClientMethod · 0.45
TestVectorAppendMethod · 0.45

Calls 5

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

Tested by 15

RunClientMethod · 0.36
TestVectorAppendMethod · 0.36
TEST_FFunction · 0.36
TYPED_TESTFunction · 0.36
TESTFunction · 0.36
TestAppendValuesMethod · 0.36
TestAppendValuesMethod · 0.36
TestEqualityMethod · 0.36
TestBulkAppendMethod · 0.36