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

Function GetPrimitiveArray

cpp/src/arrow/ipc/feather.cc:447–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447inline flatbuffers::Offset<fbs::PrimitiveArray> GetPrimitiveArray(
448 FBB& fbb, const ArrayMetadata& array) {
449 return fbs::CreatePrimitiveArray(fbb, array.type, fbs::Encoding::Encoding_PLAIN,
450 array.offset, array.length, array.null_count,
451 array.total_bytes);
452}
453
454// Convert Feather enums to Flatbuffer enums
455inline fbs::TimeUnit ToFlatbufferEnum(TimeUnit::type unit) {

Callers 2

WriteMetadataMethod · 0.85
WriteFeatherV1Function · 0.85

Calls 1

CreatePrimitiveArrayFunction · 0.85

Tested by

no test coverage detected