Package | Description |
---|---|
com.querydsl.core.types.dsl |
DSL expression types
|
com.querydsl.sql |
SQL/JDBC support
|
com.querydsl.sql.oracle |
Oracle support
|
Modifier and Type | Class and Description |
---|---|
class |
DateOperation<T extends Comparable<?>>
DateOperation represents Date operations |
class |
DatePath<T extends Comparable>
DatePath presents Date paths |
class |
DateTemplate<T extends Comparable<?>>
DateTemplate defines custom date expressions |
Modifier and Type | Method and Description |
---|---|
DateExpression<T> |
DateExpression.as(Path<T> alias) |
DateExpression<T> |
DateExpression.as(String alias) |
DateExpression<T> |
Coalesce.asDate() |
static <T extends Comparable<?>> |
Expressions.asDate(Expression<T> expr)
Create a new DateExpression
|
static <T extends Comparable<?>> |
Expressions.asDate(T value)
Create a new DateExpression
|
static DateExpression<Date> |
Expressions.currentDate()
Create an expression representing the current date as a DateExpression instance
|
static DateExpression<Date> |
DateExpression.currentDate()
Create an expression representing the current date as a
DateExpression instance |
static <T extends Comparable> |
DateExpression.currentDate(Class<T> cl)
Create an expression representing the current date as a
DateExpression instance |
DateExpression<T> |
DateExpression.max()
Get the maximum value of this expression (aggregation)
|
DateExpression<T> |
DateExpression.min()
Get the minimum value of this expression (aggregation)
|
Modifier and Type | Method and Description |
---|---|
CaseForEqBuilder.Cases<Date,DateExpression<Date>> |
CaseForEqBuilder.then(Date then) |
CaseBuilder.Cases<Date,DateExpression<Date>> |
CaseBuilder.Initial.then(Date date) |
<T extends Comparable> |
CaseForEqBuilder.then(DateExpression<T> then) |
<T extends Comparable> |
CaseBuilder.Initial.then(DateExpression<T> expr) |
Modifier and Type | Method and Description |
---|---|
<T extends Comparable> |
CaseForEqBuilder.then(DateExpression<T> then) |
<T extends Comparable> |
CaseBuilder.Initial.then(DateExpression<T> expr) |
Modifier and Type | Method and Description |
---|---|
static <D extends Comparable> |
SQLExpressions.addDays(DateExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
SQLExpressions.addMonths(DateExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
SQLExpressions.addWeeks(DateExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
SQLExpressions.addYears(DateExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends Comparable> |
SQLExpressions.date(Class<D> type,
DateTimeExpression<?> dateTime)
Convert timestamp to date
|
static <D extends Comparable> |
SQLExpressions.date(DateTimeExpression<D> dateTime)
Convert timestamp to date
|
static <D extends Comparable> |
SQLExpressions.dateadd(DatePart unit,
DateExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateExpression<D> expr)
Truncate the given date expression
|
Modifier and Type | Method and Description |
---|---|
static <D extends Comparable> |
SQLExpressions.addDays(DateExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
SQLExpressions.addMonths(DateExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
SQLExpressions.addWeeks(DateExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
SQLExpressions.addYears(DateExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends Comparable> |
SQLExpressions.dateadd(DatePart unit,
DateExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateExpression<D> start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateExpression<D> start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
D start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateExpression<D> expr)
Truncate the given date expression
|
Modifier and Type | Field and Description |
---|---|
static DateExpression<Date> |
OracleGrammar.sysdate |
Copyright © 2007–2016 Querydsl. All rights reserved.