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, beforecastToNum, stringValuebetween, 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, notBetweenasc, coalesce, coalesce, desccount, 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, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptpublic TimeExpression(Expression<T> mixin)
public TimeExpression<T> as(Path<T> alias)
SimpleExpressionas in class ComparableExpression<T extends Comparable>public TimeExpression<T> as(String alias)
SimpleExpressionas 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.