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

Method UnsafeAppend

cpp/src/arrow/array/builder_binary.h:147–151  ·  view source on GitHub ↗

\brief Append without checking capacity Offsets and data should have been presized using Reserve() and ReserveData(), respectively.

Source from the content-addressed store, hash-verified

145 /// Offsets and data should have been presized using Reserve() and
146 /// ReserveData(), respectively.
147 void UnsafeAppend(const uint8_t* value, offset_type length) {
148 UnsafeAppendNextOffset();
149 value_data_builder_.UnsafeAppend(value, length);
150 UnsafeAppendToBitmap(true);
151 }
152
153 void UnsafeAppend(const char* value, offset_type length) {
154 UnsafeAppend(reinterpret_cast<const uint8_t*>(value), length);

Callers 15

AppendNullsMethod · 0.45
AppendEmptyValuesMethod · 0.45
UnsafeExtendCurrentMethod · 0.45
UnsafeAppendNullMethod · 0.45
AppendValuesMethod · 0.45
AppendFunction · 0.45
UnsafeAppendFunction · 0.45
AppendNullsFunction · 0.45
AppendNullFunction · 0.45
AppendEmptyValueFunction · 0.45

Calls 4

UnsafeAppendToBitmapFunction · 0.85
UnsafeAppendFunction · 0.70
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected