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

Method AppendNull

cpp/src/arrow/util/converter.h:285–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284
285 Status AppendNull() {
286 auto status = converter_->AppendNull();
287 if (ARROW_PREDICT_FALSE(status.IsCapacityError())) {
288 if (converter_->builder()->length() == 0) {
289 // Builder length == 0 means the individual element is too large to append.
290 // In this case, no need to try again.
291 return status;
292 }
293 ARROW_RETURN_NOT_OK(FinishChunk());
294 return converter_->AppendNull();
295 }
296 ++length_;
297 return status;
298 }
299
300 Status Append(InputType value) {
301 auto status = converter_->Append(value);

Callers 2

AppendNullMethod · 0.45
GetOrInsertNullMethod · 0.45

Calls 2

lengthMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected