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

Method UnsafeAppendOrNull

cpp/src/arrow/array/builder_base.h:53–56  ·  view source on GitHub ↗

\brief Append a value from an optional or null if it has no value. Unsafe methods don't check existing size.

Source from the content-addressed store, hash-verified

51 ///
52 /// Unsafe methods don't check existing size.
53 void UnsafeAppendOrNull(const std::optional<V>& value) {
54 auto* self = static_cast<Builder*>(this);
55 return value.has_value() ? self->UnsafeAppend(*value) : self->UnsafeAppendNull();
56 }
57};
58
59} // namespace internal

Callers 1

DataEqArrayFunction · 0.80

Calls 2

UnsafeAppendMethod · 0.45
UnsafeAppendNullMethod · 0.45

Tested by

no test coverage detected