CompositeIndexKey class

Composite key for multi-column indexes. Compares element-by-element using SQLite-ish ordering (NULL < num < text < blob; numbers compared numerically across int/double; strings/blobs lexicographically).

Implemented types

Constructors

CompositeIndexKey(List<Object?> parts)
const

Properties

hashCode int
The hash code for this object.
no setteroverride
parts List<Object?>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(CompositeIndexKey other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

compareValues(Object? a, Object? b) int
SQLite-ish ordering used for full composite-key ordering and for prefix matching by the planner. Public so executor code in other libraries can reuse it.