Vector class
A single vector to insert or update through StorageVectorIndexApi.putVectors.
- Annotations
-
- @experimental
Constructors
Properties
-
data
→ List<
double> -
The vector embedding. Its length must match the index dimension.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
The unique key identifying the vector within its index.
final
-
metadata
→ Map<
String, dynamic> ? -
Optional arbitrary metadata stored alongside the vector.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited