|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.ExpressionBase<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.SimpleExpression |
|---|
primitive |
| Fields inherited from class com.mysema.query.types.ExpressionBase |
|---|
type |
| Constructor Summary | |
|---|---|
ComparableExpression(Class<? extends T> type)
|
|
| 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 |
gt(Expression<T> right)
Get a this > right expression |
BooleanExpression |
gt(T right)
Get a this > right expression |
BooleanExpression |
loe(Expression<T> right)
Get a this < right expression |
BooleanExpression |
loe(T right)
Get a this <= right expression |
BooleanExpression |
lt(Expression<T> right)
Get a this < right expression |
BooleanExpression |
lt(T right)
Get a this < right expression |
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, desc, stringValue |
| Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
|---|
count, countDistinct, eq, eq, equals, hashCode, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
| Methods inherited from class com.mysema.query.types.ExpressionBase |
|---|
getType, 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(Class<? extends T> type)
| 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(T from,
T to)
from < this < to expression
from - to -
public final BooleanExpression between(Expression<T> from,
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 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 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 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||