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

Function AppendNull

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

\brief Append a single null element

Source from the content-addressed store, hash-verified

659
660 /// \brief Append a single null element
661 Status AppendNull() final {
662 ARROW_RETURN_NOT_OK(Reserve(1));
663 data_builder_.UnsafeAppend(BinaryViewType::c_type{});
664 UnsafeAppendToBitmap(false);
665 return Status::OK();
666 }
667
668 /// \brief Append a empty element (length-0 inline string)
669 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