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

Method AppendNull

cpp/src/arrow/array/builder_primitive.h:120–125  ·  view source on GitHub ↗

\brief Append a single null element

Source from the content-addressed store, hash-verified

118
119 /// \brief Append a single null element
120 Status AppendNull() final {
121 ARROW_RETURN_NOT_OK(Reserve(1));
122 data_builder_.UnsafeAppend(value_type{}); // zero
123 UnsafeAppendToBitmap(false);
124 return Status::OK();
125 }
126
127 /// \brief Append a empty element
128 Status AppendEmptyValue() 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