|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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>
com.mysema.query.types.expr.TemporalExpression<T>
com.mysema.query.types.expr.TimeExpression<T>
T - expression typepublic abstract class TimeExpression<T extends Comparable>
TimeExpression represents Time expressions
| Field Summary |
|---|
| Fields inherited from class com.mysema.query.types.expr.DslExpression |
|---|
mixin |
| Constructor Summary | |
|---|---|
TimeExpression(Expression<T> mixin)
|
|
| Method Summary | ||
|---|---|---|
TimeExpression<T> |
as(Path<T> alias)
Create an alias for the expression |
|
TimeExpression<T> |
as(String alias)
Create an alias for the expression |
|
static TimeExpression<Time> |
currentTime()
Get an expression representing the current time as a TimeExpression instance |
|
static
|
currentTime(Class<T> cl)
Get an expression representing the current time as a TimeExpression instance |
|
NumberExpression<Integer> |
hour()
Get a hours expression (range 0-23) |
|
NumberExpression<Integer> |
milliSecond()
Get a milliseconds expression (range 0-999) |
|
NumberExpression<Integer> |
minute()
Get a minutes expression (range 0-59) |
|
NumberExpression<Integer> |
second()
Get a seconds expression (range 0-59) |
|
| Methods inherited from class com.mysema.query.types.expr.TemporalExpression |
|---|
after, after, before, before |
| 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, 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 TimeExpression(Expression<T> mixin)
| Method Detail |
|---|
public TimeExpression<T> as(Path<T> alias)
SimpleExpression
as in class ComparableExpression<T extends Comparable>public TimeExpression<T> as(String alias)
SimpleExpression
as in class ComparableExpression<T extends Comparable>public NumberExpression<Integer> hour()
public NumberExpression<Integer> minute()
public NumberExpression<Integer> second()
public NumberExpression<Integer> milliSecond()
Is always 0 in HQL and JDOQL modules
public static TimeExpression<Time> currentTime()
public static <T extends Comparable> TimeExpression<T> currentTime(Class<T> cl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||