MultiSearcherDelegate class abstract

MultiSearcherDelegate serves as an abstract unit within the composite MultiSearcher. It abstracts the underlying details of individual search units like HitsSearcher and FacetSearcher, focusing primarily on exposing their states and providing mechanisms to update their responses.

Constructors

MultiSearcherDelegate()

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether this Disposable has already released its resources.
getter/setter pairinherited
multiSearchState Stream<MultiSearchState>
Provides public access to the stream of the encapsulated search units' states. Enables subscribers to listen to and react to the state changes of the encapsulated units.
no setter
response Stream<MultiSearchResponse>
Provides public access to the stream of search responses.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases this Disposable resources.
inherited
doDispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateResponse(MultiSearchResponse response) → void
Updates the response of the encapsulated search unit.
updateState(MultiSearchState state) → void
Updates the state of the encapsulated search unit.

Operators

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