SqliteVectorStoreProvider class
Creates the platform-appropriate SQLite + sqlite-vec vector store.
Applications register this provider once; native platforms receive
SqliteVectorStore and web receives WebSqliteVectorStore without an
application-level kIsWeb branch.
Constructors
- SqliteVectorStoreProvider({int priority = 0, SqliteTextTokenizer? textTokenizer})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- name → String
-
no setter
- priority → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textTokenizer → SqliteTextTokenizer?
-
The tokenizer a new text index (
VectorStoreSpec.enableTextSearch) is created with. Null uses the tokenizer an existing index was created with, and SqliteTextTokenizer.unicode61 for a new one. A non-null value that differs from an existing index's fails the open.final
Methods
-
canHandle(
VectorStoreSpec spec) → bool -
createStore(
VectorStoreSpec spec) → Future< VectorStoreRepository> -
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
Constants
- providerId → const String