Package | Description |
---|---|
com.querydsl.core.types.dsl |
DSL expression types
|
com.querydsl.sql |
SQL/JDBC support
|
Modifier and Type | Class and Description |
---|---|
class |
DateTimeOperation<T extends Comparable<?>>
DateTimeOperation represents DateTime operations |
class |
DateTimePath<T extends Comparable>
DateTimePath presents DateTime typed paths |
class |
DateTimeTemplate<T extends Comparable<?>>
DateTimeTemplate defines custom dateTime expressions |
Modifier and Type | Method and Description |
---|---|
DateTimeExpression<T> |
DateTimeExpression.as(Path<T> alias) |
DateTimeExpression<T> |
DateTimeExpression.as(String alias) |
DateTimeExpression<T> |
Coalesce.asDateTime() |
static <T extends Comparable<?>> |
Expressions.asDateTime(Expression<T> expr)
Create a new DateTimeExpression
|
static <T extends Comparable<?>> |
Expressions.asDateTime(T value)
Create a new DateTimeExpression
|
static DateTimeExpression<Date> |
DateTimeExpression.currentDate()
Create an expression representing the current date as a DateTimeExpression instance
|
static <T extends Comparable> |
DateTimeExpression.currentDate(Class<T> cl)
Create an expression representing the current date as a DateTimeExpression instance
|
static DateTimeExpression<Date> |
Expressions.currentTimestamp()
Create an expression representing the current time instant as a DateTimeExpression instance
|
static DateTimeExpression<Date> |
DateTimeExpression.currentTimestamp()
Create an expression representing the current time instant as a DateTimeExpression instance
|
static <T extends Comparable> |
DateTimeExpression.currentTimestamp(Class<T> cl)
Create an expression representing the current time instant as a DateTimeExpression instance
|
DateTimeExpression<T> |
DateTimeExpression.max()
Get the maximum value of this expression (aggregation)
|
DateTimeExpression<T> |
DateTimeExpression.min()
Get the minimum value of this expression (aggregation)
|
Modifier and Type | Method and Description |
---|---|
CaseForEqBuilder.Cases<Date,DateTimeExpression<Date>> |
CaseForEqBuilder.then(Date then) |
CaseBuilder.Cases<Date,DateTimeExpression<Date>> |
CaseBuilder.Initial.then(Date date) |
<T extends Comparable> |
CaseForEqBuilder.then(DateTimeExpression<T> then) |
<T extends Comparable> |
CaseBuilder.Initial.then(DateTimeExpression<T> expr) |
CaseForEqBuilder.Cases<Timestamp,DateTimeExpression<Timestamp>> |
CaseForEqBuilder.then(Timestamp then) |
CaseBuilder.Cases<Timestamp,DateTimeExpression<Timestamp>> |
CaseBuilder.Initial.then(Timestamp ts) |
Modifier and Type | Method and Description |
---|---|
<T extends Comparable> |
CaseForEqBuilder.then(DateTimeExpression<T> then) |
<T extends Comparable> |
CaseBuilder.Initial.then(DateTimeExpression<T> expr) |
Modifier and Type | Method and Description |
---|---|
static <D extends Comparable> |
SQLExpressions.addDays(DateTimeExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
SQLExpressions.addHours(DateTimeExpression<D> date,
int hours)
Add the given amount of hours to the date
|
static <D extends Comparable> |
SQLExpressions.addMinutes(DateTimeExpression<D> date,
int minutes)
Add the given amount of minutes to the date
|
static <D extends Comparable> |
SQLExpressions.addMonths(DateTimeExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
SQLExpressions.addSeconds(DateTimeExpression<D> date,
int seconds)
Add the given amount of seconds to the date
|
static <D extends Comparable> |
SQLExpressions.addWeeks(DateTimeExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
SQLExpressions.addYears(DateTimeExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends Comparable> |
SQLExpressions.dateadd(DatePart unit,
DateTimeExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateTimeExpression<D> expr)
Truncate the given datetime expression
|
Modifier and Type | Method and Description |
---|---|
static <D extends Comparable> |
SQLExpressions.addDays(DateTimeExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
SQLExpressions.addHours(DateTimeExpression<D> date,
int hours)
Add the given amount of hours to the date
|
static <D extends Comparable> |
SQLExpressions.addMinutes(DateTimeExpression<D> date,
int minutes)
Add the given amount of minutes to the date
|
static <D extends Comparable> |
SQLExpressions.addMonths(DateTimeExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
SQLExpressions.addSeconds(DateTimeExpression<D> date,
int seconds)
Add the given amount of seconds to the date
|
static <D extends Comparable> |
SQLExpressions.addWeeks(DateTimeExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
SQLExpressions.addYears(DateTimeExpression<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,
DateTimeExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datediff(DatePart unit,
D start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateTimeExpression<D> expr)
Truncate the given datetime expression
|
Copyright © 2007–2016 Querydsl. All rights reserved.