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

Function CreatePrimitiveArray

cpp/src/generated/feather_generated.h:341–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339};
340
341inline ::flatbuffers::Offset<PrimitiveArray> CreatePrimitiveArray(
342 ::flatbuffers::FlatBufferBuilder &_fbb,
343 arrow::ipc::feather::fbs::Type type = arrow::ipc::feather::fbs::Type_BOOL,
344 arrow::ipc::feather::fbs::Encoding encoding = arrow::ipc::feather::fbs::Encoding_PLAIN,
345 int64_t offset = 0,
346 int64_t length = 0,
347 int64_t null_count = 0,
348 int64_t total_bytes = 0) {
349 PrimitiveArrayBuilder builder_(_fbb);
350 builder_.add_total_bytes(total_bytes);
351 builder_.add_null_count(null_count);
352 builder_.add_length(length);
353 builder_.add_offset(offset);
354 builder_.add_encoding(encoding);
355 builder_.add_type(type);
356 return builder_.Finish();
357}
358
359struct CategoryMetadata FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table {
360 typedef CategoryMetadataBuilder Builder;

Callers 1

GetPrimitiveArrayFunction · 0.85

Calls 7

add_total_bytesMethod · 0.80
add_null_countMethod · 0.80
add_offsetMethod · 0.80
add_encodingMethod · 0.80
add_lengthMethod · 0.45
add_typeMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected