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

Function GetPrimitiveArray

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

Source from the content-addressed store, hash-verified

443}
444
445inline flatbuffers::Offset<fbs::PrimitiveArray> GetPrimitiveArray(
446 FBB& fbb, const ArrayMetadata& array) {
447 return fbs::CreatePrimitiveArray(fbb, array.type, fbs::Encoding::Encoding_PLAIN,
448 array.offset, array.length, array.null_count,
449 array.total_bytes);
450}
451
452// Convert Feather enums to Flatbuffer enums
453inline 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