File tree Expand file tree Collapse file tree
reader/src/main/java/io/github/dfa1/vortex/reader Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import java .lang .foreign .SegmentAllocator ;
1616import java .util .List ;
1717
18- /// Parses a flat segment from the memory-mapped file region and dispatches to the
19- /// appropriate decoder via the [ReadRegistry].
18+ /// Decodes one serialized array message — the wire unit a flat layout's segment stores — by
19+ /// parsing its FlatBuffer scaffolding and dispatching to the appropriate decoder via the
20+ /// [ReadRegistry].
2021///
21- /// Flat segment wire format:
22+ /// Named after the Rust reference's `SerializedArray` (`vortex-array/src/serde.rs`): "a parsed
23+ /// but not-yet-decoded deserialized array" whose `decode` resolves the encoding id against the
24+ /// spec table and consults the registry — exactly this class's contract.
25+ ///
26+ /// Serialized array wire format:
2227/// `buffer_data... | FlatBuffer(Array) | u32 LE = FlatBuffer byte length`
2328///
2429/// [ReadRegistry] is pure dispatch; this class owns all file-format knowledge:
You can’t perform that action at this time.
0 commit comments