|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.expr.DslExpression<T> com.mysema.query.types.expr.SimpleExpression<T> com.mysema.query.types.expr.ComparableExpressionBase<T> com.mysema.query.types.expr.ComparableExpression<Boolean> com.mysema.query.types.expr.BooleanExpression
public abstract class BooleanExpression
BooleanExpression represents boolean expressions
Boolean
,
Serialized FormField Summary |
---|
Fields inherited from class com.mysema.query.types.expr.DslExpression |
---|
mixin |
Constructor Summary | |
---|---|
BooleanExpression(Expression<Boolean> mixin)
|
Method Summary | |
---|---|
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 |
Methods inherited from class com.mysema.query.types.expr.ComparableExpression |
---|
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase |
---|
asc, castToNum, coalesce, coalesce, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
count, countDistinct, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, when, when |
Methods inherited from class com.mysema.query.types.expr.DslExpression |
---|
equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Expression |
---|
accept, getType |
Constructor Detail |
---|
public BooleanExpression(Expression<Boolean> mixin)
Method Detail |
---|
@Nullable public static BooleanExpression allOf(BooleanExpression... exprs)
exprs
-
@Nullable public static BooleanExpression anyOf(BooleanExpression... exprs)
exprs
-
public BooleanExpression as(Path<Boolean> alias)
SimpleExpression
as
in class ComparableExpression<Boolean>
public BooleanExpression as(String alias)
SimpleExpression
as
in class ComparableExpression<Boolean>
public BooleanExpression and(@Nullable Predicate right)
right
- right hand side of the union
public BooleanExpression andAnyOf(Predicate... predicates)
predicates
-
public BooleanExpression not()
not
in interface Predicate
public BooleanExpression or(@Nullable Predicate right)
right
- right hand side of the union
public BooleanExpression orAllOf(Predicate... predicates)
predicates
-
public BooleanExpression isTrue()
public BooleanExpression isFalse()
public BooleanExpression eq(Boolean right)
SimpleExpression
this == right
expression
eq
in class SimpleExpression<Boolean>
right
- rhs of the comparison
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |