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

Method Append

cpp/src/arrow/array/builder_decimal.cc:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 decimal_type_(internal::checked_pointer_cast<Decimal32Type>(type)) {}
42
43Status Decimal32Builder::Append(Decimal32 value) {
44 RETURN_NOT_OK(FixedSizeBinaryBuilder::Reserve(1));
45 UnsafeAppend(value);
46 return Status::OK();
47}
48
49void Decimal32Builder::UnsafeAppend(Decimal32 value) {
50 value.ToBytes(GetMutableValue(length()));

Callers

nothing calls this directly

Calls 3

ReserveFunction · 0.70
UnsafeAppendFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected