CondCol<ValType> class

A relational conditional expression

Inheritance

Constructors

CondCol(Field<ValType> lhs, Op op, Field<ValType> rhs)
const

Properties

length → int
Always returns 1 because relational condition is not a composite expressions
read-only, override
lhs Field<ValType>
The field/column of the condition
final
op Op
The operator of the relational expression
final
rhs Field<ValType>
The value of the relational expression the field is being compared against
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

and(Expression exp) And
Creates a 'logical and' expression of this expression and the other
override
or(Expression exp) Or
Creates a 'logical or' expression of this expression and the other
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator &(Expression other) And
Creates a 'logical and' expression of this expression and the other
inherited
operator ==(dynamic other) → bool
The equality operator.
inherited
operator |(Expression other) Or
Creates a 'logical or' expression of this expression and the other
inherited

Static Methods

between<ValType>(Field<ValType> field, Field<ValType> low, Field<ValType> high) InBetweenCol<ValType>
DSL to create 'in-between' relational condition
eq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is equal to' relational condition
gt<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is greater than' relational condition
gtEq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is greater than or equal to' relational condition
iss<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'IS' relational condition
like(Field<String> field, Field<String> value) CondCol<String>
DSL to create 'is like' relational condition
lt<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is less than' relational condition
ltEq<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is less than or equal to' relational condition
ne<ValType>(Field<ValType> field, Field<ValType> value) CondCol<ValType>
DSL to create 'is not equal to' relational condition