public abstract class BooleanExpression extends LiteralExpression<Boolean> implements Predicate
BooleanExpression represents Boolean expressionsBoolean,
Serialized FormhashCode, mixin| Constructor and Description |
|---|
BooleanExpression(Expression<Boolean> mixin) |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
and(Predicate right)
Create a
this && right expression |
BooleanExpression |
andAnyOf(Predicate... predicates)
Create a
this && any(predicates) expression |
BooleanExpression |
as(Path<Boolean> alias)
Create an alias for the expression
|
BooleanExpression |
as(String alias)
Create an alias for the expression
|
BooleanExpression |
eq(Boolean right)
Create a
this == right expression |
BooleanExpression |
isFalse()
Create a
this == false expression |
BooleanExpression |
isTrue()
Create a
this == true expression |
BooleanExpression |
not()
Create a
!this expression |
BooleanExpression |
or(Predicate right)
Create a
this || right expression |
BooleanExpression |
orAllOf(Predicate... predicates)
Create a
this or all(predicates) expression |
castToNum, stringValuebetween, between, goe, goe, goeAll, goeAll, goeAny, goeAny, gt, gt, gtAll, gtAll, gtAny, gtAny, loe, loe, loeAll, loeAll, loeAny, loeAny, lt, lt, ltAll, ltAll, ltAny, ltAny, notBetween, notBetweenasc, coalesce, coalesce, desccount, countDistinct, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getTypepublic BooleanExpression(Expression<Boolean> mixin)
public BooleanExpression as(Path<Boolean> alias)
SimpleExpressionas in class ComparableExpression<Boolean>public BooleanExpression as(String alias)
SimpleExpressionas in class ComparableExpression<Boolean>public BooleanExpression and(@Nullable Predicate right)
this && right expression
Returns an intersection of this and the given expression
right - right hand side of the unionthis && rightpublic BooleanExpression andAnyOf(Predicate... predicates)
this && any(predicates) expression
Returns an intersection of this and the union of the given predicates
predicates - union of predicatespublic BooleanExpression not()
!this expression
Returns a negation of this boolean expression
public BooleanExpression or(@Nullable Predicate right)
this || right expression
Returns a union of this and the given expression
right - right hand side of the unionpublic BooleanExpression orAllOf(Predicate... predicates)
this or all(predicates) expression
Return a union of this and the intersection of the given predicates
predicates - intersection of predicatespublic BooleanExpression isTrue()
this == true expressionpublic BooleanExpression isFalse()
this == false expressionpublic BooleanExpression eq(Boolean right)
SimpleExpressionthis == right expression
Use expr.isNull() instead of expr.eq(null)
eq in class SimpleExpression<Boolean>right - rhs of the comparisonCopyright © 2007–2016 Querydsl. All rights reserved.