moon/fory Apache Fory · MoonBit

API · enum

RowValue

Row format · defined at row.mbt:86

pub(all) enum RowValue {
  Null
  Bool(Bool)
  Int8(Int32)
  Int16(Int32)
  Int32(Int32)
  Int64(Int64)
  Float32(Double)
  Float64(Double)
  String(String)
  Binary(Bytes)
  Timestamp(Int64)
  Date(Int32)
  Duration(Int64)
  Array(Array[RowValue])
  Map(Array[(RowValue, RowValue)])
  Struct(Array[RowValue])
}

A value written into, or read out of, a row.

It mirrors RowType rather than the cross-language Value, because the row format is schema-driven: the type of every field is fixed by the schema, not carried in the bytes. Null stands for a null field or a null array element.

Variants

Null Bool Int8 Int16 Int32 Int64 Float32 Float64 String Binary Timestamp Date Duration Array Map Struct

Built in

derives Eq @debug.Debug

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