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

Function AppendEmptyValue

cpp/src/arrow/array/builder_binary.h:671–676  ·  view source on GitHub ↗

\brief Append a empty element (length-0 inline string)

Source from the content-addressed store, hash-verified

669
670 /// \brief Append a empty element (length-0 inline string)
671 Status AppendEmptyValue() final {
672 ARROW_RETURN_NOT_OK(Reserve(1));
673 data_builder_.UnsafeAppend(BinaryViewType::c_type{});
674 UnsafeAppendToBitmap(true);
675 return Status::OK();
676 }
677
678 /// \brief Append several empty elements
679 Status AppendEmptyValues(int64_t length) final {

Callers

nothing calls this directly

Calls 4

UnsafeAppendToBitmapFunction · 0.85
ReserveFunction · 0.70
OKFunction · 0.50
UnsafeAppendMethod · 0.45

Tested by

no test coverage detected