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

Function AppendNull

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

\brief Append a single null element

Source from the content-addressed store, hash-verified

661
662 /// \brief Append a single null element
663 Status AppendNull() final {
664 ARROW_RETURN_NOT_OK(Reserve(1));
665 data_builder_.UnsafeAppend(BinaryViewType::c_type{});
666 UnsafeAppendToBitmap(false);
667 return Status::OK();
668 }
669
670 /// \brief Append a empty element (length-0 inline string)
671 Status AppendEmptyValue() final {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected