T
- expression typepublic abstract class TimeExpression<T extends Comparable> extends TemporalExpression<T>
mixin
Constructor and Description |
---|
TimeExpression(Expression<T> mixin) |
Modifier and Type | Method and Description |
---|---|
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 <T extends Comparable> |
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)
|
after, after, before, before
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween
asc, castToNum, coalesce, coalesce, desc, stringValue
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public TimeExpression(Expression<T> mixin)
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 JPA and JDO modules
public static TimeExpression<Time> currentTime()
public static <T extends Comparable> TimeExpression<T> currentTime(Class<T> cl)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.