Filter class abstract
Representing filter arguments in a uniform, abstract way.
To allow different DatabaseAdapter implementations to interpret or implement filtering in different ways (e.g. convert to SQL statements) this is a uniform representation of filter arguments.
All Filter implementations are immutable.
- Implementers
Constructors
- Filter()
-
const
Properties
Methods
-
and(
Filter other) → Filter -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
or(
Filter other) → Filter -
reduce(
) → Filter - Tries to simplify the Filter structure to avoid redundancy.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
andGroup(
Iterable< Filter> filters) → Filter -
Returns the smallest representation of the "And" group of
filters
. -
equals(
dynamic left, dynamic right) → CompareFilter - Convenience method for creating a CompareFilter filter with compare type CompareType.equals.
-
notEquals(
dynamic left, dynamic right) → CompareFilter - Convenience method for creating a CompareFilter filter with compare type CompareType.notEquals.
-
orGroup(
Iterable< Filter> filters) → Filter -
Returns the smallest representation of the "Or" group of
filters
.