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

Method AppendNull

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

Source from the content-addressed store, hash-verified

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