SqliteWriteIndex class

A logical index to write into a SQLite file.

Entries are pre-formed records: each entry is [...keyColumnValues, rowid] (matching how SQLite stores index payloads internally). They will be sorted in ascending key order before being written. Comparison ordering matches SQLite's type affinity rules in the common cases (NULL < numbers < text < blob).

Constructors

SqliteWriteIndex({required String name, required String tableName, required String createSql, required List<List<Object?>> entries})

Properties

createSql String
CREATE INDEX statement string. Stored verbatim in sqlite_schema.sql.
final
entries List<List<Object?>>
One entry per indexed row. Each entry is the list of indexed-column values followed by the integer rowid as the final element.
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
The user table this index is on (goes into sqlite_schema.tbl_name).
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