StringFilter class abstract

An abstract class representing a filter for string values.

Inheritance

Constructors

StringFilter.new(String field, dynamic value)

Properties

collectionName String?
Gets the name of the collection on which this filter is applied.
getter/setter pairinherited
comparable Comparable
no setterinherited
field String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
nitriteConfig NitriteConfig?
Gets the NitriteConfig instance.
getter/setter pairinherited
objectFilter bool
Indicates if this filter is an object filter.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringValue String
no setter
value → dynamic
Gets the value of the filter.
no setterinherited

Methods

and(Filter filter) Filter
Creates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.
inherited
apply(Document doc) bool
Applies the filter to the given element.
inherited
applyOnIndex(IndexMap indexMap) Stream
Apply this filter on a nitrite index.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
not() Filter
Creates a not filter which performs a logical NOT operation on a filter and selects the documents that do not satisfy the criteria.
inherited
or(Filter filter) Filter
Creates an or filter which performs a logical OR operation on two filters and selects the documents that satisfy at least one of the filter.
inherited
toString() String
A string representation of this object.
inherited
validateSearchTerm(NitriteMapper nitriteMapper, String field, dynamic value) → void
Validates the search term for a given field and value.
inherited
yieldValues(dynamic value) Stream
Yield values after index scanning.
inherited

Operators

operator &(Filter other) Filter
Creates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator |(Filter other) Filter
Creates an or filter which performs a logical OR operation on two filters and selects the documents that satisfy at least one of the filter.
inherited
operator ~() Filter
Creates a not filter which performs a logical NOT operation on a filter and selects the documents that do not satisfy the criteria.
inherited