Interface BooleanExpression
- All Superinterfaces:
ComparableExpression<Boolean>, Expression<Boolean>
Representation of a boolean expression.
-
Method Summary
Modifier and TypeMethodDescriptionand(BooleanExpression expr) Method to return the AND of this expression and the other expression.neg()Method to return an expression that is the current expression negated.not()Method to negate this expression.or(BooleanExpression expr) Method to return the OR of this expression and the other expression.Methods inherited from interface ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, minMethods inherited from interface Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Method Details
-
and
Method to return the AND of this expression and the other expression.- Parameters:
expr- The other expression- Returns:
- The resultant (boolean) expression
-
or
Method to return the OR of this expression and the other expression.- Parameters:
expr- The other expression- Returns:
- The resultant (boolean) expression
-
not
-
neg
BooleanExpression neg()Method to return an expression that is the current expression negated.- Returns:
- The negated expression
-