T - expression typepublic abstract class DateTimeExpression<T extends Comparable> extends TemporalExpression<T>
hashCode, mixin| Constructor and Description |
|---|
DateTimeExpression(Expression<T> mixin) |
| Modifier and Type | Method and Description |
|---|---|
DateTimeExpression<T> |
as(Path<T> alias)
Create an alias for the expression
|
DateTimeExpression<T> |
as(String alias)
Create an alias for the expression
|
static DateTimeExpression<Date> |
currentDate()
Get an expression representing the current date as a DateTimeExpression instance
|
static <T extends Comparable> |
currentDate(Class<T> cl)
Get an expression representing the current date as a DateTimeExpression instance
|
static DateTimeExpression<Date> |
currentTimestamp()
Get an expression representing the current time instant as a DateTimeExpression instance
|
static <T extends Comparable> |
currentTimestamp(Class<T> cl)
Get an expression representing the current time instant as a DateTimeExpression instance
|
NumberExpression<Integer> |
dayOfMonth()
Get a day of month expression (range 1-31)
|
NumberExpression<Integer> |
dayOfWeek()
Get a day of week expression (range 1-7 / SUN-SAT)
|
NumberExpression<Integer> |
dayOfYear()
Get a day of year expression (range 1-356)
|
NumberExpression<Integer> |
hour()
Get a hours expression (range 0-23)
|
DateTimeExpression<T> |
max()
Get the maximum value of this expression (aggregation)
|
NumberExpression<Integer> |
milliSecond()
Get a milliseconds expression (range 0-999)
|
DateTimeExpression<T> |
min()
Get the minimum value of this expression (aggregation)
|
NumberExpression<Integer> |
minute()
Get a minutes expression (range 0-59)
|
NumberExpression<Integer> |
month()
Get a month expression (range 1-12 / JAN-DEC)
|
NumberExpression<Integer> |
second()
Get a seconds expression (range 0-59)
|
NumberExpression<Integer> |
week()
Get a week expression
|
NumberExpression<Integer> |
year()
Get a year expression
|
NumberExpression<Integer> |
yearMonth()
Get a year / month expression
|
NumberExpression<Integer> |
yearWeek()
Get a ISO yearweek expression
|
after, after, before, beforebetween, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetweenasc, castToNum, coalesce, coalesce, desc, stringValuecount, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, whenequals, getType, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptpublic DateTimeExpression(Expression<T> mixin)
public static DateTimeExpression<Date> currentDate()
public static <T extends Comparable> DateTimeExpression<T> currentDate(Class<T> cl)
public static DateTimeExpression<Date> currentTimestamp()
public static <T extends Comparable> DateTimeExpression<T> currentTimestamp(Class<T> cl)
public DateTimeExpression<T> as(Path<T> alias)
SimpleExpressionas in class ComparableExpression<T extends Comparable>public DateTimeExpression<T> as(String alias)
SimpleExpressionas in class ComparableExpression<T extends Comparable>public NumberExpression<Integer> dayOfMonth()
public NumberExpression<Integer> dayOfWeek()
NOT supported in JDOQL and not in Derby
public NumberExpression<Integer> dayOfYear()
NOT supported in JDOQL and not in Derby
public NumberExpression<Integer> hour()
public DateTimeExpression<T> max()
public NumberExpression<Integer> milliSecond()
Is always 0 in HQL and JDOQL modules
public DateTimeExpression<T> min()
public NumberExpression<Integer> minute()
public NumberExpression<Integer> month()
public NumberExpression<Integer> second()
public NumberExpression<Integer> week()
public NumberExpression<Integer> year()
public NumberExpression<Integer> yearMonth()
public NumberExpression<Integer> yearWeek()
Copyright © 2007–2015 Querydsl. All rights reserved.