BloomCompareExpr class
Resolved comparison expression between a database column field and a literal value.
Example:
final expr = BloomCompareExpr(
field: 'score',
op: CompareOp.gt,
value: BloomValue.i64(50),
);
Constructors
- BloomCompareExpr({required String field, required CompareOp op, required BloomValue value})
-
Creates a resolved field comparison expression.
const
Properties
- field → String
-
The database column name to compare.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- op → CompareOp
-
The comparison operator.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → BloomValue
-
The value compared against.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator &(
BloomExpr rhs) → BloomExpr -
Bitwise
ANDoperator combining this expression withrhs.inherited -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator |(
BloomExpr rhs) → BloomExpr -
Bitwise
ORoperator combining this expression withrhs.inherited -
operator ~(
) → BloomExpr -
Unary bitwise
NOToperator negating this expression.inherited