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 java.lang.Comparable<?>>
DateTimeOperation represents DateTime operations |
class |
DateTimePath<T extends java.lang.Comparable>
DateTimePath presents DateTime typed paths |
class |
DateTimeTemplate<T extends java.lang.Comparable<?>>
DateTimeTemplate defines custom dateTime expressions |
Modifier and Type | Method and Description |
---|---|
DateTimeExpression<T> |
DateTimeExpression.as(Path<T> alias) |
DateTimeExpression<T> |
DateTimeExpression.as(java.lang.String alias) |
DateTimeExpression<T> |
Coalesce.asDateTime() |
static <T extends java.lang.Comparable<?>> |
Expressions.asDateTime(Expression<T> expr)
Create a new DateTimeExpression
|
static <T extends java.lang.Comparable<?>> |
Expressions.asDateTime(T value)
Create a new DateTimeExpression
|
DateTimeExpression<T> |
DateTimeExpression.coalesce(Expression<?>... exprs)
Create a
coalesce(this, exprs...) expression |
DateTimeExpression<T> |
DateTimeExpression.coalesce(Expression<T> expr)
Create a
coalesce(this, expr) expression |
DateTimeExpression<T> |
DateTimeExpression.coalesce(T... args)
Create a
coalesce(this, args...) expression |
DateTimeExpression<T> |
DateTimeExpression.coalesce(T arg)
Create a
coalesce(this, arg) expression |
static DateTimeExpression<java.util.Date> |
DateTimeExpression.currentDate()
Create an expression representing the current date as a DateTimeExpression instance
|
static <T extends java.lang.Comparable> |
DateTimeExpression.currentDate(java.lang.Class<T> cl)
Create an expression representing the current date as a DateTimeExpression instance
|
static DateTimeExpression<java.util.Date> |
DateTimeExpression.currentTimestamp()
Create an expression representing the current time instant as a DateTimeExpression instance
|
static DateTimeExpression<java.util.Date> |
Expressions.currentTimestamp()
Create an expression representing the current time instant as a DateTimeExpression instance
|
static <T extends java.lang.Comparable> |
DateTimeExpression.currentTimestamp(java.lang.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)
|
DateTimeExpression<T> |
DateTimeExpression.nullif(Expression<T> other)
Create a
nullif(this, other) expression |
DateTimeExpression<T> |
DateTimeExpression.nullif(T other)
Create a
nullif(this, other) expression |
Modifier and Type | Method and Description |
---|---|
CaseBuilder.Cases<java.util.Date,DateTimeExpression<java.util.Date>> |
CaseBuilder.Initial.then(java.util.Date date) |
CaseForEqBuilder.Cases<java.util.Date,DateTimeExpression<java.util.Date>> |
CaseForEqBuilder.then(java.util.Date then) |
<T extends java.lang.Comparable> |
CaseBuilder.Initial.then(DateTimeExpression<T> expr) |
<T extends java.lang.Comparable> |
CaseForEqBuilder.then(DateTimeExpression<T> then) |
CaseBuilder.Cases<java.sql.Timestamp,DateTimeExpression<java.sql.Timestamp>> |
CaseBuilder.Initial.then(java.sql.Timestamp ts) |
CaseForEqBuilder.Cases<java.sql.Timestamp,DateTimeExpression<java.sql.Timestamp>> |
CaseForEqBuilder.then(java.sql.Timestamp then) |
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Comparable> |
CaseBuilder.Initial.then(DateTimeExpression<T> expr) |
<T extends java.lang.Comparable> |
CaseForEqBuilder.then(DateTimeExpression<T> then) |
Modifier and Type | Method and Description |
---|---|
static <D extends java.lang.Comparable> |
SQLExpressions.addDays(DateTimeExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addHours(DateTimeExpression<D> date,
int hours)
Add the given amount of hours to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addMinutes(DateTimeExpression<D> date,
int minutes)
Add the given amount of minutes to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addMonths(DateTimeExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addSeconds(DateTimeExpression<D> date,
int seconds)
Add the given amount of seconds to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addWeeks(DateTimeExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addYears(DateTimeExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.dateadd(DatePart unit,
DateTimeExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateTimeExpression<D> expr)
Truncate the given datetime expression
|
Modifier and Type | Method and Description |
---|---|
static <D extends java.lang.Comparable> |
SQLExpressions.addDays(DateTimeExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addHours(DateTimeExpression<D> date,
int hours)
Add the given amount of hours to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addMinutes(DateTimeExpression<D> date,
int minutes)
Add the given amount of minutes to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addMonths(DateTimeExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addSeconds(DateTimeExpression<D> date,
int seconds)
Add the given amount of seconds to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addWeeks(DateTimeExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.addYears(DateTimeExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends java.lang.Comparable> |
SQLExpressions.date(java.lang.Class<D> type,
DateTimeExpression<?> dateTime)
Convert timestamp to date
|
static <D extends java.lang.Comparable> |
SQLExpressions.date(DateTimeExpression<D> dateTime)
Convert timestamp to date
|
static <D extends java.lang.Comparable> |
SQLExpressions.dateadd(DatePart unit,
DateTimeExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datediff(DatePart unit,
D start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends java.lang.Comparable> |
SQLExpressions.datetrunc(DatePart unit,
DateTimeExpression<D> expr)
Truncate the given datetime expression
|
Copyright © 2007–2021 Querydsl. All rights reserved.