RowSchema class final
Column metadata shared across all rows in a ResultSet.
Created once per query and reused by every Row. Contains the column names and a precomputed name-to-index map for O(1) lookups.
Constructors
Properties
- columnCount → int
-
The number of columns in this schema.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
names
→ List<
String> -
Column names in query order, matching the SELECT clause.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
indexOf(
String name) → int -
Returns the column index for
name, or -1 if not found. -
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