public abstract class BooleanExpression extends LiteralExpression<java.lang.Boolean> implements Predicate
BooleanExpression represents Boolean expressionsBoolean,
Serialized FormhashCode, mixin| Constructor and Description |
|---|
BooleanExpression(Expression<java.lang.Boolean> mixin) |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
and(@Nullable Predicate right)
Create a
this && right expression |
BooleanExpression |
andAnyOf(Predicate... predicates)
Create a
this && any(predicates) expression |
BooleanExpression |
as(Path<java.lang.Boolean> alias)
Create an alias for the expression
|
BooleanExpression |
as(java.lang.String alias)
Create an alias for the expression
|
BooleanExpression |
coalesce(java.lang.Boolean... args)
Create a
coalesce(this, args...) expression |
BooleanExpression |
coalesce(java.lang.Boolean arg)
Create a
coalesce(this, arg) expression |
BooleanExpression |
coalesce(Expression<?>... exprs)
Create a
coalesce(this, exprs...) expression |
BooleanExpression |
coalesce(Expression<java.lang.Boolean> expr)
Create a
coalesce(this, expr) expression |
BooleanExpression |
eq(java.lang.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 |
nullif(java.lang.Boolean other)
Create a
nullif(this, other) expression |
BooleanExpression |
nullif(Expression<java.lang.Boolean> other)
Create a
nullif(this, other) expression |
BooleanExpression |
or(@Nullable 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, max, min, notBetween, notBetweenasc, desccount, countDistinct, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, notIn, notIn, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, getTypepublic BooleanExpression(Expression<java.lang.Boolean> mixin)
public BooleanExpression as(Path<java.lang.Boolean> alias)
SimpleExpressionas in class ComparableExpression<java.lang.Boolean>public BooleanExpression as(java.lang.String alias)
SimpleExpressionas in class ComparableExpression<java.lang.Boolean>public BooleanExpression and(@Nullable @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 @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(java.lang.Boolean right)
SimpleExpressionthis == right expression
Use expr.isNull() instead of expr.eq(null)
eq in class SimpleExpression<java.lang.Boolean>right - rhs of the comparisonpublic BooleanExpression nullif(Expression<java.lang.Boolean> other)
nullif(this, other) expressionnullif in class ComparableExpression<java.lang.Boolean>other - public BooleanExpression nullif(java.lang.Boolean other)
nullif(this, other) expressionnullif in class ComparableExpression<java.lang.Boolean>other - public BooleanExpression coalesce(Expression<java.lang.Boolean> expr)
coalesce(this, expr) expressioncoalesce in class ComparableExpression<java.lang.Boolean>expr - additional argumentpublic BooleanExpression coalesce(Expression<?>... exprs)
coalesce(this, exprs...) expressioncoalesce in class ComparableExpression<java.lang.Boolean>exprs - additional argumentspublic BooleanExpression coalesce(java.lang.Boolean arg)
coalesce(this, arg) expressioncoalesce in class ComparableExpression<java.lang.Boolean>arg - additional argumentpublic BooleanExpression coalesce(java.lang.Boolean... args)
coalesce(this, args...) expressioncoalesce in class ComparableExpression<java.lang.Boolean>args - additional argumentsCopyright © 2007–2021 Querydsl. All rights reserved.