public abstract class BooleanExpression extends ComparableExpression<Boolean> implements Predicate
Boolean expressionsBoolean,
Serialized FormhashCode, mixin| Constructor and Description |
|---|
BooleanExpression(Expression<Boolean> mixin) |
| Modifier and Type | Method and Description |
|---|---|
static BooleanExpression |
allOf(BooleanExpression... exprs)
Return the intersection of the given Boolean expressions
|
BooleanExpression |
and(Predicate right)
Get an intersection of this and the given expression
|
BooleanExpression |
andAnyOf(Predicate... predicates)
Get an intersection of this and the union of the given predicates
|
static BooleanExpression |
anyOf(BooleanExpression... exprs)
Return the union of the given Boolean expressions
|
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)
Get a
this == right expression |
BooleanExpression |
isFalse()
Get a this == false expression
|
BooleanExpression |
isTrue()
Get a this == true expression
|
BooleanExpression |
not()
Get a negation of this boolean expression
|
BooleanExpression |
or(Predicate right)
Get a union of this and the given expression
|
BooleanExpression |
orAllOf(Predicate... predicates)
Get a union of this and the intersection of the given predicates
|
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetweenasc, castToNum, coalesce, coalesce, desc, stringValuecount, countDistinct, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getTypepublic BooleanExpression(Expression<Boolean> mixin)
@Nullable public static BooleanExpression allOf(BooleanExpression... exprs)
exprs - @Nullable public static BooleanExpression anyOf(BooleanExpression... exprs)
exprs - 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)
right - right hand side of the unionthis && rightpublic BooleanExpression andAnyOf(Predicate... predicates)
predicates - public BooleanExpression not()
public BooleanExpression or(@Nullable Predicate right)
right - right hand side of the unionpublic BooleanExpression orAllOf(Predicate... predicates)
predicates - public BooleanExpression isTrue()
public BooleanExpression isFalse()
public 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–2015 Querydsl. All rights reserved.