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

Method AppendValues

cpp/src/arrow/array/builder_nested.h:292–298  ·  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

290 /// If passed, valid_bytes is of equal length to values, and any zero byte
291 /// will be considered as a null for that slot
292 Status AppendValues(const offset_type* offsets, int64_t length,
293 const uint8_t* valid_bytes = NULLPTR) {
294 ARROW_RETURN_NOT_OK(this->Reserve(length));
295 this->UnsafeAppendToBitmap(valid_bytes, length);
296 this->offsets_builder_.UnsafeAppend(offsets, length);
297 return Status::OK();
298 }
299
300 Status AppendValues(const offset_type* offsets, const offset_type* sizes,
301 int64_t length, const uint8_t* valid_bytes) final {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected