|
||||||||||
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<T>
T
- expression typepublic abstract class ComparableExpression<T extends Comparable>
ComparableExpression extends ComparableExpressionBase to provide comparison methods.
Field Summary |
---|
Fields inherited from class com.mysema.query.types.expr.DslExpression |
---|
mixin |
Constructor Summary | |
---|---|
ComparableExpression(Expression<T> mixin)
|
Method Summary | |
---|---|
ComparableExpression<T> |
as(Path<T> alias)
Create an alias for the expression |
ComparableExpression<T> |
as(String alias)
Create an alias for the expression |
BooleanExpression |
between(Expression<T> from,
Expression<T> to)
Get a first <= this <= second expression |
BooleanExpression |
between(T from,
T to)
Get a from <= this <= to expression |
BooleanExpression |
goe(Expression<T> right)
Get a this >= right expression |
BooleanExpression |
goe(T right)
Get a this >= right expression |
BooleanExpression |
goeAll(CollectionExpression<?,? super T> right)
|
BooleanExpression |
goeAny(CollectionExpression<?,? super T> right)
|
BooleanExpression |
gt(Expression<T> right)
Get a this > right expression |
BooleanExpression |
gt(T right)
Get a this > right expression |
BooleanExpression |
gtAll(CollectionExpression<?,? super T> right)
|
BooleanExpression |
gtAny(CollectionExpression<?,? super T> right)
|
BooleanExpression |
loe(Expression<T> right)
Get a this < right expression |
BooleanExpression |
loe(T right)
Get a this <= right expression |
BooleanExpression |
loeAll(CollectionExpression<?,? super T> right)
|
BooleanExpression |
loeAny(CollectionExpression<?,? super T> right)
|
BooleanExpression |
lt(Expression<T> right)
Get a this < right expression |
BooleanExpression |
lt(T right)
Get a this < right expression |
BooleanExpression |
ltAll(CollectionExpression<?,? super T> right)
|
BooleanExpression |
ltAny(CollectionExpression<?,? super T> right)
|
BooleanExpression |
notBetween(Expression<T> from,
Expression<T> to)
Get a this not between from and to expression |
BooleanExpression |
notBetween(T from,
T to)
Get a this not between from and to expression |
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, 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 |
Constructor Detail |
---|
public ComparableExpression(Expression<T> mixin)
Method Detail |
---|
public ComparableExpression<T> as(Path<T> alias)
SimpleExpression
as
in class SimpleExpression<T extends Comparable>
public ComparableExpression<T> as(String alias)
SimpleExpression
as
in class SimpleExpression<T extends Comparable>
public final BooleanExpression between(@Nullable T from, @Nullable T to)
from <= this <= to
expression
from
- to
-
public final BooleanExpression between(@Nullable Expression<T> from, @Nullable Expression<T> to)
first <= this <= second
expression
from
- to
-
public final BooleanExpression notBetween(T from, T to)
this not between from and to
expression
from
- to
-
public final BooleanExpression notBetween(Expression<T> from, Expression<T> to)
this not between from and to
expression
from
- to
-
public BooleanExpression gt(T right)
this > right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression gt(Expression<T> right)
this > right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression gtAll(CollectionExpression<?,? super T> right)
right
-
public BooleanExpression gtAny(CollectionExpression<?,? super T> right)
right
-
public BooleanExpression goe(T right)
this >= right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression goe(Expression<T> right)
this >= right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression goeAll(CollectionExpression<?,? super T> right)
right
-
public BooleanExpression goeAny(CollectionExpression<?,? super T> right)
right
-
public final BooleanExpression lt(T right)
this < right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public final BooleanExpression lt(Expression<T> right)
this < right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression ltAll(CollectionExpression<?,? super T> right)
right
-
public BooleanExpression ltAny(CollectionExpression<?,? super T> right)
right
-
public final BooleanExpression loe(T right)
this <= right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public final BooleanExpression loe(Expression<T> right)
this < right
expression
right
- rhs of the comparison
Comparable.compareTo(Object)
public BooleanExpression loeAll(CollectionExpression<?,? super T> right)
right
-
public BooleanExpression loeAny(CollectionExpression<?,? super T> right)
right
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |