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

Method AppendValues

cpp/src/arrow/array/builder_nested.h:430–437  ·  view source on GitHub ↗

\brief Vector append If passed, valid_bytes is of equal length to values, and any zero byte will be considered as a null for that slot

Source from the content-addressed store, hash-verified

428 /// If passed, valid_bytes is of equal length to values, and any zero byte
429 /// will be considered as a null for that slot
430 Status AppendValues(const offset_type* offsets, const offset_type* sizes,
431 int64_t length, const uint8_t* valid_bytes) final {
432 ARROW_RETURN_NOT_OK(this->Reserve(length));
433 this->UnsafeAppendToBitmap(valid_bytes, length);
434 this->offsets_builder_.UnsafeAppend(offsets, length);
435 this->sizes_builder_.UnsafeAppend(sizes, length);
436 return Status::OK();
437 }
438
439 Status AppendValues(const offset_type* offsets, const offset_type* sizes,
440 int64_t length) {

Callers

nothing calls this directly

Calls 5

UnsafeAppendToBitmapMethod · 0.80
AppendValuesFunction · 0.70
OKFunction · 0.50
ReserveMethod · 0.45
UnsafeAppendMethod · 0.45

Tested by

no test coverage detected