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

Method AppendEmptyValue

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

\brief Append a empty element

Source from the content-addressed store, hash-verified

126
127 /// \brief Append a empty element
128 Status AppendEmptyValue() final {
129 ARROW_RETURN_NOT_OK(Reserve(1));
130 data_builder_.UnsafeAppend(value_type{}); // zero
131 UnsafeAppendToBitmap(true);
132 return Status::OK();
133 }
134
135 /// \brief Append several empty elements
136 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