moon/fory Apache Fory · MoonBit

API · enum

RowType

Row format · defined at row.mbt:22

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

The type of one field in a row schema.

It is the cross-language primitive set, plus the three shapes that live in the variable region: a homogeneous array, a key-and-value map, and a nested struct.

Variants

VariantMeaning
Bool
Int8
Int16
Int32
Int64
Float32
Float64
String
Binary
Timestamp

Microseconds since the Unix epoch.

Date

Days since the Unix epoch.

Duration

A span of time, in microseconds.

Array(RowType)
Map(RowType, RowType)
Struct(Array[RowField])

Built in

derives Eq @debug.Debug

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