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

Method AppendNull

cpp/src/arrow/array/builder_nested.h:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 Status AppendNull() final {
127 // Append() a null list slot with list_length=0.
128 //
129 // When building [Large]List arrays, elements being appended to the values builder
130 // before the next call to Append* or Finish will extend the list slot length, but
131 // that is totally fine because list arrays admit non-empty null list slots.
132 //
133 // In the case of [Large]ListViews that's not a problem either because the
134 // list slot length remains zero.
135 return Append(false, 0);
136 }
137
138 Status AppendNulls(int64_t length) final {
139 ARROW_RETURN_NOT_OK(Reserve(length));

Callers

nothing calls this directly

Calls 1

AppendFunction · 0.70

Tested by

no test coverage detected