roboto.formats#

Format-specific decoding of topic data files into rows.

This package decodes MCAP and Parquet topic data into Roboto’s nested row / Arrow representation: per-format parsing and read planning, field projection, and timestamp extraction. The byte-transport it builds on (HTTP range reads, local disk caching, sparse buffering) lives in roboto.storage; this package depends on the topic record and message-path types in roboto.domain.topics without depending back on the topic readers, so the readers in both roboto.domain.topics and roboto.experimental.topics build on it.

Submodules#

Package Contents#

class roboto.formats.FieldSelection#

A field to read out of a data file, identified by its path through the schema.

This is the single currency type the roboto.formats decoders accept. Each bounded context (e.g. roboto.domain.topics) translates its own field record into a FieldSelection at the boundary rather than passing the record in directly.

path_in_schema: tuple[str, Ellipsis]#

Path components locating this field in the source data schema, root to leaf.

property source_path: str#

The field’s dot-joined name as it appears in the source data / Arrow schema.

Return type:

str