BjdataSoaLayout enum

How a list that is a uniform table of records is written.

Detection is the same in every case: a list of two or more records sharing the same field names and per-field types, or rectangular nested lists of them. Only the layout of the payload differs.

Inheritance
Available extensions

Values

off → const BjdataSoaLayout

Never write Structure-of-Arrays containers.

Tables are written as plain arrays of objects, which is what a decoder that only understands BJData draft 3 expects.

rowMajor → const BjdataSoaLayout

Row-major ([$): whole records are stored contiguously.

Decodes back to a List of record Maps, matching what was encoded.

columnMajor → const BjdataSoaLayout

Column-major ({$): all values of a field are stored contiguously.

Costs the same as rowMajor and decodes the same; a column is one contiguous run for a reader that walks fields rather than records.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<BjdataSoaLayout>
A constant List of the values in this enum, in order of their declaration.