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

Method Append

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

Append a single scalar and increase the size if necessary.

Source from the content-addressed store, hash-verified

101
102 /// Append a single scalar and increase the size if necessary.
103 Status Append(const value_type val) {
104 ARROW_RETURN_NOT_OK(ArrayBuilder::Reserve(1));
105 UnsafeAppend(val);
106 return Status::OK();
107 }
108
109 /// Write nulls as uint8_t* (0 value indicates null) into pre-allocated memory
110 /// The memory at the corresponding data slot is set to 0 to prevent

Callers

nothing calls this directly

Calls 3

ReserveFunction · 0.70
UnsafeAppendFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected