T
- expression typepublic abstract class TimeExpression<T extends Comparable> extends TemporalExpression<T>
TimeExpression
represents Time expressionshashCode, 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()
Create an expression representing the current time as a TimeExpression instance
|
static <T extends Comparable> |
currentTime(Class<T> cl)
Create an expression representing the current time as a TimeExpression instance
|
NumberExpression<Integer> |
hour()
Create a hours expression (range 0-23)
|
NumberExpression<Integer> |
milliSecond()
Create a milliseconds expression (range 0-999)
|
NumberExpression<Integer> |
minute()
Create a minutes expression (range 0-59)
|
NumberExpression<Integer> |
second()
Create a seconds expression (range 0-59)
|
after, after, before, before
castToNum, stringValue
between, between, goe, goe, goeAll, goeAll, goeAny, goeAny, gt, gt, gtAll, gtAll, gtAny, gtAny, loe, loe, loeAll, loeAll, loeAny, loeAny, lt, lt, ltAll, ltAll, ltAny, ltAny, notBetween, notBetween
asc, coalesce, coalesce, desc
count, countDistinct, eq, eq, eqAll, eqAll, eqAny, eqAny, in, in, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, 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–2016 Querydsl. All rights reserved.