moon/fory Apache Fory · MoonBit

API · struct

RowSchema

Row format · defined at row.mbt:68

pub(all) struct RowSchema {
  fields : Array[RowField]
}

A row schema: the ordered list of fields a row is built and read against.

Fields

FieldMeaning
fields : Array[RowField]

The fields, in the order the row stores them. Field i is the one at slot i, so this order is the layout and not a display choice.

Methods

new

fn RowSchema::new(Array[RowField]) -> Self

Build a schema from an ordered list of fields.

Generated from src/pkg.generated.mbti and the doc comments beside this declaration.