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

Function ToFlatbufferEnum

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

Convert Feather enums to Flatbuffer enums

Source from the content-addressed store, hash-verified

453
454// Convert Feather enums to Flatbuffer enums
455inline fbs::TimeUnit ToFlatbufferEnum(TimeUnit::type unit) {
456 return static_cast<fbs::TimeUnit>(static_cast<int>(unit));
457}
458
459const fbs::TypeMetadata COLUMN_TYPE_ENUM_MAPPING[] = {
460 fbs::TypeMetadata::TypeMetadata_NONE, // PRIMITIVE

Callers 2

WriteMetadataMethod · 0.85
WriteFeatherV1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected