SearchIndexUpdater class base
SQL statements associated with a SearchIndex.
SearchIndexUpdaters are maintained by the SQLite instance that, via the Scheme, owns the corresponding SearchIndexes. SQL statements of a SearchIndexUpdater are used by the library to automatically insert, update, and delete rows in the FTS index as dictated by modifications to the mapping table or by scheme migrations.
See also: SQLite.initializeUpdatersLookup and SQLite.deactivateUpdatersLookup.
Constructors
- SearchIndexUpdater(SearchIndex index, SQLite sqlite)
-
Creates a SearchIndexUpdater for the given FTS
indexdescription.
Properties
- delete → CommonPreparedStatement
-
The
DELETESQL statement for the FTS index.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → SearchIndex
-
The SearchIndex with which this SearchIndexUpdater is associated.
final
- insert → CommonPreparedStatement
-
The
INSERTSQL statement for the FTS index.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sqlite → SQLite
-
A reference to the SQLite instance.
final
- update → CommonPreparedStatement
-
The
UPDATESQL statement for the FTS index.no setter
Methods
-
checkActive(
) → void -
Throws an Error if the state is not set to
Active.inherited -
checkDeactivated(
) → void -
Throws an Error if the state is not set to
Deactivated.inherited -
checkInitialized(
) → void -
Throws an Error if the state is not set to either
ActiveorDeactivated.inherited -
checkUndeactivated(
) → void -
Throws an Error if the state is not set to either
UninitializedorActive.inherited -
checkUninitialized(
) → void -
Throws an Error if the state is not set to
Uninitialized.inherited -
deactivate(
[Object? thrown]) → void -
A public interface for object deactivation.
inherited
-
dispose(
Object? thrown) → void - Called by deactivate; should contain the object deactivation code.
-
initialize(
) → void -
A public interface for object initialization.
inherited
-
isActive(
) → bool -
Whether the state is set to
Active.inherited -
isDeactivated(
) → bool -
Whether the state is set to
Deactivated.inherited -
isInitialized(
) → bool -
Whether the state is set to either
ActiveorDeactivated.inherited -
isUndeactivated(
) → bool -
Whether the state is set to either
UninitializedorActive.inherited -
isUninitialized(
) → bool -
Whether the state is set to
Uninitialized.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propose(
) → void - Called by initialize; should contain the object initialization code.
-
raiseInactive(
) → void -
Throws an
InactiveActorExceptionif the state is no longer set toActive.inherited -
setActive(
) → void -
Sets the state to
Active.inherited -
setDeactivated(
) → void -
Sets the state to
Deactivated.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited