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

Function AppendEmptyValue

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

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

Source from the content-addressed store, hash-verified

667
668 /// \brief Append a empty element (length-0 inline string)
669 Status AppendEmptyValue() final {
670 ARROW_RETURN_NOT_OK(Reserve(1));
671 data_builder_.UnsafeAppend(BinaryViewType::c_type{});
672 UnsafeAppendToBitmap(true);
673 return Status::OK();
674 }
675
676 /// \brief Append several empty elements
677 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