AutoCompleteOperator<T extends Object> class
final
Word prefix matching filter for autocomplete.
Matches field values where any word starts with the provided prefix.
- Inheritance
-
- Object
- Filter<
T> - EvaluationOperator<
T> - AutoCompleteOperator
Constructors
-
AutoCompleteOperator(FilterField<
T> field, String query) -
Creates an autocomplete filter for the specified
fieldand prefixquery.const
Properties
-
field
→ FilterField<
T> -
The field being evaluated in this text operation.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- operator → FilterOperator
-
The evaluation operator used for this filter.
finalinherited
- query → String
-
The query string used for text evaluation.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
matches(
T other) → bool -
Whether this filter matches the given
otherinstance.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Converts this filter to JSON format for API queries.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited