FirestoreIndexIndexFieldVectorConfig class final

Vector-search dimension for a field. The schema requires dimension plus a marker flat sub-block; the wrapper emits both.

Inheritance
Annotations
  • @immutable

Constructors

FirestoreIndexIndexFieldVectorConfig({required TfArg<int> dimension})
const

Properties

dimension → TfArg<int>
Vector dimensionality. The index only matches queries of the same dimension.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() Map<String, Object?>
Returns the JSON fragment to merge into FirestoreIndexIndexField.encode.
override
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