ResultEncoding enum

Native result wire encoding requested for query execution.

rowMajor is the stable default and matches the historical v1 row buffer. columnar and columnarCompressed are opt-in diagnostics/performance paths; callers should compare results and benchmark before making them the default for a workload.

APIs that return row-shaped QueryResult always request rowMajor wire via forQueryResultWire. Use executeQueryColumnar* / streamQueryColumnar* for end-to-end columnar.

Inheritance
Available extensions

Values

rowMajor → const ResultEncoding
const ResultEncoding(0)
columnar → const ResultEncoding
const ResultEncoding(1)
columnarCompressed → const ResultEncoding
const ResultEncoding(2)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
isColumnar → bool
True for columnar and columnarCompressed wire layouts (v2).
no setter
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
wireCode → int
ABI code passed to native _options FFI entry points.
final

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<ResultEncoding>
A constant List of the values in this enum, in order of their declaration.