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),
);
Inheritance

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 AND operator combining this expression with rhs.
inherited
operator ==(Object other) bool
The equality operator.
override
operator |(BloomExpr rhs) BloomExpr
Bitwise OR operator combining this expression with rhs.
inherited
operator ~() BloomExpr
Unary bitwise NOT operator negating this expression.
inherited