|
||||||||||
| 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.DateExpression<T>
T - expression typepublic abstract class DateExpression<T extends Comparable>
DateExpression represents Date expressions The date representation is compatible with the Gregorian calendar.
| Field Summary |
|---|
| Fields inherited from class com.mysema.query.types.expr.DslExpression |
|---|
mixin |
| Constructor Summary | |
|---|---|
DateExpression(Expression<T> mixin)
|
|
| Method Summary | ||
|---|---|---|
DateExpression<T> |
as(Path<T> alias)
Create an alias for the expression |
|
DateExpression<T> |
as(String alias)
Create an alias for the expression |
|
static DateExpression<Date> |
currentDate()
Get an expression representing the current date as a DateExpression instance |
|
static
|
currentDate(Class<T> cl)
Get an expression representing the current date as a DateExpression 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) |
|
DateExpression<T> |
max()
Get the maximum value of this expression (aggregation) |
|
DateExpression<T> |
min()
Get the minimum value of this expression (aggregation) |
|
NumberExpression<Integer> |
month()
Get a month expression (range 1-12 / JAN-DEC) |
|
NumberExpression<Integer> |
week()
Get a week expression |
|
NumberExpression<Integer> |
year()
Get a year expression |
|
NumberExpression<Integer> |
yearMonth()
Get a year / month expression |
|
| 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 DateExpression(Expression<T> mixin)
| Method Detail |
|---|
public static DateExpression<Date> currentDate()
public static <T extends Comparable> DateExpression<T> currentDate(Class<T> cl)
public DateExpression<T> as(Path<T> alias)
SimpleExpression
as in class ComparableExpression<T extends Comparable>public DateExpression<T> as(String alias)
SimpleExpression
as 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 DateExpression<T> max()
public DateExpression<T> min()
public NumberExpression<Integer> month()
public NumberExpression<Integer> week()
public NumberExpression<Integer> year()
public NumberExpression<Integer> yearMonth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||