class

TrioReader

@Js
class TrioReader : Obj

Read Haystack data in Trio format.

constructors make

Wrap input stream

methods readGrid

Return recs as simple grid (no grid or column level meta)

eachDict

Iterate through the entire stream reading dicts

readAllDicts

Read all dicts from the stream and close it

readDict

Read next dict from the stream

eachDict Void eachDict(|Dict| f)

Iterate through the entire stream reading dicts. The stream is guaranteed to be closed when done.

make new make(InStream in)

Wrap input stream

readAllDicts Dict[] readAllDicts()

Read all dicts from the stream and close it.

readDict Dict? readDict(Bool checked)

Read next dict from the stream. If end of stream is detected then reutrn null or raise exception based on checked flag.

readGrid virtual Grid readGrid()

Return recs as simple grid (no grid or column level meta)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST