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

Method UnsafeAppend

cpp/src/arrow/array/builder_binary.h:145–149  ·  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

143 /// Offsets and data should have been presized using Reserve() and
144 /// ReserveData(), respectively.
145 void UnsafeAppend(const uint8_t* value, offset_type length) {
146 UnsafeAppendNextOffset();
147 value_data_builder_.UnsafeAppend(value, length);
148 UnsafeAppendToBitmap(true);
149 }
150
151 void UnsafeAppend(const char* value, offset_type length) {
152 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