Skip to main content

Crate mcap2arrow_core

Crate mcap2arrow_core 

Source
Expand description

Encoding-agnostic core types and decoder contracts for mcap2arrow.

This crate provides Arrow-independent intermediate representations (Value / DataTypeDef) and the MessageDecoder trait.

Structs§

DecodedMessage
A decoded message payload used for Arrow conversion.
ElementDef
Arrow-independent nested element definition used in composite types.
EncodingKey
Key identifying a (schema_encoding, message_encoding) pair.
FieldDef
Arrow-independent field definition for schema intermediate representation.
FieldDefs
Typed collection of FieldDef used for schema bodies and struct members.
ValueTypeError

Enums§

DataTypeDef
Arrow-independent data type definition for schema intermediate representation.
DecoderError
Error returned by MessageDecoder implementations.
MessageEncoding
Message encodings defined in the mcap spec registry. https://mcap.dev/spec/registry
SchemaEncoding
Schema encodings defined in the mcap spec registry. https://mcap.dev/spec/registry
Value
Value produced by message decoders. All types are explicit; no lossy conversions.

Traits§

MessageDecoder
Factory trait that builds topic-local decoders from MCAP schema metadata.
TopicDecoder
Topic-local decoder built from MCAP schema metadata.

Functions§

format_field_defs
Format field definitions in a readable style: primitive fields are rendered in one line, compound fields are pretty-printed. Nested fields follow the same rule.