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

Method UnsafeAppend

cpp/src/arrow/array/builder_primitive.h:317–320  ·  view source on GitHub ↗

Append a single scalar under the assumption that the underlying Buffer is large enough. This method does not capacity-check; make sure to call Reserve beforehand.

Source from the content-addressed store, hash-verified

315 /// This method does not capacity-check; make sure to call Reserve
316 /// beforehand.
317 void UnsafeAppend(const value_type val) {
318 ArrayBuilder::UnsafeAppendToBitmap(true);
319 data_builder_.UnsafeAppend(val);
320 }
321
322 void UnsafeAppendNull() {
323 ArrayBuilder::UnsafeAppendToBitmap(false);

Callers 12

AppendNullsMethod · 0.45
AppendNullMethod · 0.45
AppendEmptyValueMethod · 0.45
AppendEmptyValuesMethod · 0.45
AppendValuesMethod · 0.45
UnsafeAppendNullMethod · 0.45
AppendValuesFunction · 0.45
AppendNullsFunction · 0.45
AppendEmptyValueFunction · 0.45
AppendEmptyValuesFunction · 0.45
UnsafeAppendFunction · 0.45
UnsafeAppendNullFunction · 0.45

Calls 1

UnsafeAppendToBitmapFunction · 0.85

Tested by

no test coverage detected