public final class SQLExpressions extends Object
Modifier and Type | Field and Description |
---|---|
static Expression<Object[]> |
all
Wildcard expression
|
static Expression<Long> |
countAll
Wildcard count expression
|
Modifier and Type | Method and Description |
---|---|
static <D extends Comparable> |
addDays(DateExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
addDays(DateTimeExpression<D> date,
int days)
Add the given amount of days to the date
|
static <D extends Comparable> |
addHours(DateTimeExpression<D> date,
int hours)
Add the given amount of hours to the date
|
static <D extends Comparable> |
addMinutes(DateTimeExpression<D> date,
int minutes)
Add the given amount of minutes to the date
|
static <D extends Comparable> |
addMonths(DateExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
addMonths(DateTimeExpression<D> date,
int months)
Add the given amount of months to the date
|
static <D extends Comparable> |
addSeconds(DateTimeExpression<D> date,
int seconds)
Add the given amount of seconds to the date
|
static <D extends Comparable> |
addWeeks(DateExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
addWeeks(DateTimeExpression<D> date,
int weeks)
Add the given amount of weeks to the date
|
static <D extends Comparable> |
addYears(DateExpression<D> date,
int years)
Add the given amount of years to the date
|
static <D extends Comparable> |
addYears(DateTimeExpression<D> date,
int years)
Add the given amount of years to the date
|
static BooleanExpression |
all(BooleanExpression expr)
Get an aggregate all expression for the given boolean expression
|
static BooleanExpression |
any(BooleanExpression expr)
Get an aggregate any expression for the given boolean expression
|
static <T extends Number> |
avg(Expression<T> expr)
Start a window function expression
|
static WindowOver<Double> |
corr(Expression<? extends Number> expr1,
Expression<? extends Number> expr2)
CORR returns the coefficient of correlation of a set of number pairs.
|
static WindowOver<Long> |
count()
Start a window function expression
|
static WindowOver<Long> |
count(Expression<?> expr)
Start a window function expression
|
static WindowOver<Long> |
countDistinct(Expression<?> expr)
Start a window function expression
|
static WindowOver<Double> |
covarPop(Expression<? extends Number> expr1,
Expression<? extends Number> expr2)
CORR returns the coefficient of correlation of a set of number pairs.
|
static WindowOver<Double> |
covarSamp(Expression<? extends Number> expr1,
Expression<? extends Number> expr2)
CORR returns the coefficient of correlation of a set of number pairs.
|
static WindowOver<Double> |
cumeDist()
CUME_DIST calculates the cumulative distribution of a value in a group of values.
|
static WithinGroup<Double> |
cumeDist(Expression<?>... args)
As an aggregate function, CUME_DIST calculates, for a hypothetical row r identified by the
arguments of the function and a corresponding sort specification, the relative position of row
r among the rows in the aggregation group.
|
static WithinGroup<Double> |
cumeDist(Object... args)
As an aggregate function, CUME_DIST calculates, for a hypothetical row r identified by the
arguments of the function and a corresponding sort specification, the relative position of row
r among the rows in the aggregation group.
|
static <D extends Comparable> |
date(Class<D> type,
DateTimeExpression<?> dateTime)
Convert timestamp to date
|
static <D extends Comparable> |
date(DateTimeExpression<D> dateTime)
Convert timestamp to date
|
static <D extends Comparable> |
dateadd(DatePart unit,
DateExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
dateadd(DatePart unit,
DateTimeExpression<D> date,
int amount)
Create a dateadd(unit, date, amount) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
DateExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
DateExpression<D> start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
DateTimeExpression<D> start,
D end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
DateTimeExpression<D> start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
D start,
DateExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datediff(DatePart unit,
D start,
DateTimeExpression<D> end)
Get a datediff(unit, start, end) expression
|
static <D extends Comparable> |
datetrunc(DatePart unit,
DateExpression<D> expr)
Truncate the given date expression
|
static <D extends Comparable> |
datetrunc(DatePart unit,
DateTimeExpression<D> expr)
Truncate the given datetime expression
|
static WindowOver<Long> |
denseRank()
rank of the current row without gaps; this function counts peer groups
|
static WithinGroup<Long> |
denseRank(Expression<?>... args)
As an aggregate function, DENSE_RANK calculates the dense rank of a hypothetical row identified
by the arguments of the function with respect to a given sort specification.
|
static WithinGroup<Long> |
denseRank(Object... args)
As an aggregate function, DENSE_RANK calculates the dense rank of a hypothetical row identified
by the arguments of the function with respect to a given sort specification.
|
static <T> WindowOver<T> |
firstValue(Expression<T> expr)
returns value evaluated at the row that is the first row of the window frame
|
static StringExpression |
groupConcat(Expression<String> expr)
Get a group_concat(expr) expression
|
static StringExpression |
groupConcat(Expression<String> expr,
String separator)
Get a group_concat(expr, separator) expression
|
static <T> WindowOver<T> |
lag(Expression<T> expr)
expr evaluated at the row that is one row before the current row within the partition
|
static <T> WindowOver<T> |
lastValue(Expression<T> expr)
returns value evaluated at the row that is the last row of the window frame
|
static <T> WindowOver<T> |
lead(Expression<T> expr)
expr evaluated at the row that is one row after the current row within the partition;
|
static StringExpression |
left(Expression<String> lhs,
Expression<Integer> rhs)
Get the rhs leftmost characters of lhs
|
static StringExpression |
left(Expression<String> lhs,
int rhs)
Get the rhs leftmost characters of lhs
|
static WithinGroup<Object> |
listagg(Expression<?> expr,
String delimiter)
LISTAGG orders data within each group specified in the ORDER BY clause and then concatenates
the values of the measure column.
|
static <T extends Comparable> |
max(Expression<T> expr)
Start a window function expression
|
static <T extends Comparable> |
min(Expression<T> expr)
Start a window function expression
|
static <T extends Number> |
nextval(Class<T> type,
String sequence)
Create a nextval(sequence) expression of the given type
|
static SimpleExpression<Long> |
nextval(String sequence)
Create a nextval(sequence) expression
|
static <T> WindowOver<T> |
nthValue(Expression<T> expr,
Expression<? extends Number> n)
NTH_VALUE returns the expr value of the nth row in the window defined by the analytic clause.
|
static <T> WindowOver<T> |
nthValue(Expression<T> expr,
Number n)
NTH_VALUE returns the expr value of the nth row in the window defined by the analytic clause.
|
static <T extends Number & Comparable> |
ntile(T num)
divides an ordered data set into a number of buckets indicated by expr and assigns the
appropriate bucket number to each row
|
static <T extends Number> |
percentileCont(Expression<T> arg)
Calculates a percentile based on a continuous distribution of the column value
|
static <T extends Number> |
percentileCont(T arg)
Calculates a percentile based on a continuous distribution of the column value
|
static <T extends Number> |
percentileDisc(Expression<T> arg)
PERCENTILE_DISC is an inverse distribution function that assumes a discrete distribution model.
|
static <T extends Number> |
percentileDisc(T arg)
PERCENTILE_DISC is an inverse distribution function that assumes a discrete distribution model.
|
static WindowOver<Double> |
percentRank()
As an analytic function, for a row r, PERCENT_RANK calculates the rank of r minus 1, divided by
1 less than the number of rows being evaluated (the entire query result set or a partition).
|
static WithinGroup<Double> |
percentRank(Expression<?>... args)
As an aggregate function, PERCENT_RANK calculates, for a hypothetical row r identified by the
arguments of the function and a corresponding sort specification, the rank of row r minus 1
divided by the number of rows in the aggregate group.
|
static WithinGroup<Double> |
percentRank(Object... args)
As an aggregate function, PERCENT_RANK calculates, for a hypothetical row r identified by the
arguments of the function and a corresponding sort specification, the rank of row r minus 1
divided by the number of rows in the aggregate group.
|
static WindowOver<Long> |
rank()
rank of the current row with gaps; same as row_number of its first peer
|
static WithinGroup<Long> |
rank(Expression<?>... args)
As an aggregate function, RANK calculates the rank of a hypothetical row identified by the
arguments of the function with respect to a given sort specification.
|
static WithinGroup<Long> |
rank(Object... args)
As an aggregate function, RANK calculates the rank of a hypothetical row identified by the
arguments of the function with respect to a given sort specification.
|
static <T> WindowOver<T> |
ratioToReport(Expression<T> expr)
computes the ratio of a value to the sum of a set of values.
|
static WindowOver<Double> |
regrAvgx(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_AVGX evaluates the average of the independent variable (arg2) of the regression line.
|
static WindowOver<Double> |
regrAvgy(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_AVGY evaluates the average of the dependent variable (arg1) of the regression line.
|
static WindowOver<Double> |
regrCount(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_COUNT returns an integer that is the number of non-null number pairs used to fit the regression line.
|
static WindowOver<Double> |
regrIntercept(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_INTERCEPT returns the y-intercept of the regression line.
|
static WindowOver<Double> |
regrR2(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_R2 returns the coefficient of determination (also called R-squared or goodness of fit) for the regression.
|
static WindowOver<Double> |
regrSlope(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_SLOPE returns the slope of the line
|
static WindowOver<Double> |
regrSxx(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_SXX makes the following computation after the elimination of null (arg1, arg2) pairs:
|
static WindowOver<Double> |
regrSxy(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_SXY makes the following computation after the elimination of null (arg1, arg2) pairs:
|
static WindowOver<Double> |
regrSyy(Expression<? extends Number> arg1,
Expression<? extends Number> arg2)
REGR_SYY makes the following computation after the elimination of null (arg1, arg2) pairs:
|
static <T> RelationalFunctionCall<T> |
relationalFunctionCall(Class<? extends T> type,
String function,
Object... args)
Create a new RelationalFunctionCall for the given function and arguments
|
static StringExpression |
right(Expression<String> lhs,
Expression<Integer> rhs)
Get the rhs leftmost characters of lhs
|
static StringExpression |
right(Expression<String> lhs,
int rhs)
Get the rhs rightmost characters of lhs
|
static WindowOver<Long> |
rowNumber()
number of the current row within its partition, counting from 1
|
static SQLQuery<Tuple> |
select(Expression<?>... exprs)
Create a new detached SQLQuery instance with the given projection
|
static <T> SQLQuery<T> |
select(Expression<T> expr)
Create a new detached SQLQuery instance with the given projection
|
static SQLQuery<Tuple> |
selectDistinct(Expression<?>... exprs)
Create a new detached SQLQuery instance with the given projection
|
static <T> SQLQuery<T> |
selectDistinct(Expression<T> expr)
Create a new detached SQLQuery instance with the given projection
|
static <T> SQLQuery<T> |
selectFrom(RelationalPath<T> expr)
Create a new detached SQLQuery instance with the given projection
|
static SQLQuery<Integer> |
selectOne()
Create a new detached SQLQuery instance with one as the projection
|
static SQLQuery<Integer> |
selectZero()
Create a new detached SQLQuery instance with zero as the projection
|
static <T> Expression<T> |
set(Path<T> target,
Expression<? extends T> value)
Create an assignment expression
|
static <T> Expression<T> |
set(Path<T> target,
T value)
Create an assignment expression
|
static <T extends Number> |
stddev(Expression<T> expr)
returns the sample standard deviation of expr, a set of numbers.
|
static <T extends Number> |
stddevDistinct(Expression<T> expr)
returns the sample standard deviation of expr, a set of numbers.
|
static <T extends Number> |
stddevPop(Expression<T> expr)
returns the population standard deviation and returns the square root of the population variance.
|
static <T extends Number> |
stddevSamp(Expression<T> expr)
returns the cumulative sample standard deviation and returns the square root of the sample variance.
|
static <T extends Number> |
sum(Expression<T> expr)
Start a window function expression
|
static <T> Union<T> |
union(List<SubQueryExpression<T>> sq)
Create a new UNION clause
|
static <T> Union<T> |
union(SubQueryExpression<T>... sq)
Create a new UNION clause
|
static <T> Union<T> |
unionAll(List<SubQueryExpression<T>> sq)
Create a new UNION ALL clause
|
static <T> Union<T> |
unionAll(SubQueryExpression<T>... sq)
Create a new UNION ALL clause
|
static <T extends Number> |
variance(Expression<T> expr)
returns the variance of expr
|
static <T extends Number> |
varPop(Expression<T> expr)
returns the population variance of a set of numbers after discarding the nulls in this set.
|
static <T extends Number> |
varSamp(Expression<T> expr)
returns the sample variance of a set of numbers after discarding the nulls in this set.
|
public static final Expression<Object[]> all
public static final Expression<Long> countAll
public static <T> Expression<T> set(Path<T> target, Expression<? extends T> value)
T
- target
- target expressionvalue
- value to be setpublic static <T> Expression<T> set(Path<T> target, T value)
T
- target
- target expressionvalue
- value to be setpublic static <T> SQLQuery<T> select(Expression<T> expr)
T
- expr
- projectionpublic static SQLQuery<Tuple> select(Expression<?>... exprs)
exprs
- projectionpublic static <T> SQLQuery<T> selectDistinct(Expression<T> expr)
T
- expr
- distinct projectionpublic static SQLQuery<Tuple> selectDistinct(Expression<?>... exprs)
exprs
- distinct projectionpublic static SQLQuery<Integer> selectZero()
public static SQLQuery<Integer> selectOne()
public static <T> SQLQuery<T> selectFrom(RelationalPath<T> expr)
T
- expr
- query source and projectionpublic static <T> Union<T> union(SubQueryExpression<T>... sq)
T
- sq
- subqueriespublic static <T> Union<T> union(List<SubQueryExpression<T>> sq)
T
- sq
- subqueriespublic static <T> Union<T> unionAll(SubQueryExpression<T>... sq)
T
- sq
- subqueriespublic static <T> Union<T> unionAll(List<SubQueryExpression<T>> sq)
T
- sq
- subqueriespublic static BooleanExpression any(BooleanExpression expr)
public static BooleanExpression all(BooleanExpression expr)
public static <T> RelationalFunctionCall<T> relationalFunctionCall(Class<? extends T> type, String function, Object... args)
T
- type
- typefunction
- function nameargs
- argumentspublic static SimpleExpression<Long> nextval(String sequence)
Returns the next value from the give sequence
sequence
- sequence namepublic static <T extends Number> SimpleExpression<T> nextval(Class<T> type, String sequence)
Returns the next value from the given sequence
type
- type of callsequence
- sequence namepublic static <D extends Comparable> DateExpression<D> date(DateTimeExpression<D> dateTime)
dateTime
- timestamppublic static <D extends Comparable> DateExpression<D> date(Class<D> type, DateTimeExpression<?> dateTime)
type
- typedateTime
- timestamppublic static <D extends Comparable> DateTimeExpression<D> dateadd(DatePart unit, DateTimeExpression<D> date, int amount)
unit
- date partdate
- dateamount
- amountpublic static <D extends Comparable> DateExpression<D> dateadd(DatePart unit, DateExpression<D> date, int amount)
unit
- date partdate
- dateamount
- amountpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, DateExpression<D> start, DateExpression<D> end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, D start, DateExpression<D> end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, DateExpression<D> start, D end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, DateTimeExpression<D> start, DateTimeExpression<D> end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, D start, DateTimeExpression<D> end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> NumberExpression<Integer> datediff(DatePart unit, DateTimeExpression<D> start, D end)
unit
- date partstart
- startend
- endpublic static <D extends Comparable> DateExpression<D> datetrunc(DatePart unit, DateExpression<D> expr)
unit
- date part to truncate toexpr
- truncated datepublic static <D extends Comparable> DateTimeExpression<D> datetrunc(DatePart unit, DateTimeExpression<D> expr)
unit
- datepart to truncate toexpr
- truncated datetimepublic static <D extends Comparable> DateTimeExpression<D> addYears(DateTimeExpression<D> date, int years)
date
- datetimeyears
- years to addpublic static <D extends Comparable> DateTimeExpression<D> addMonths(DateTimeExpression<D> date, int months)
date
- datetimemonths
- months to addpublic static <D extends Comparable> DateTimeExpression<D> addWeeks(DateTimeExpression<D> date, int weeks)
date
- datetimeweeks
- weeks to addpublic static <D extends Comparable> DateTimeExpression<D> addDays(DateTimeExpression<D> date, int days)
date
- datetimedays
- days to addpublic static <D extends Comparable> DateTimeExpression<D> addHours(DateTimeExpression<D> date, int hours)
date
- datetimehours
- hours to addpublic static <D extends Comparable> DateTimeExpression<D> addMinutes(DateTimeExpression<D> date, int minutes)
date
- datetimeminutes
- minutes to addpublic static <D extends Comparable> DateTimeExpression<D> addSeconds(DateTimeExpression<D> date, int seconds)
date
- datetimeseconds
- seconds to addpublic static <D extends Comparable> DateExpression<D> addYears(DateExpression<D> date, int years)
date
- dateyears
- years to addpublic static <D extends Comparable> DateExpression<D> addMonths(DateExpression<D> date, int months)
date
- datemonths
- months to addpublic static <D extends Comparable> DateExpression<D> addWeeks(DateExpression<D> date, int weeks)
date
- dateweeks
- weeks to addpublic static <D extends Comparable> DateExpression<D> addDays(DateExpression<D> date, int days)
date
- datedays
- days to addpublic static <T extends Number> WindowOver<T> sum(Expression<T> expr)
expr
- expressionpublic static WindowOver<Long> count()
public static WindowOver<Long> count(Expression<?> expr)
expr
- expressionpublic static WindowOver<Long> countDistinct(Expression<?> expr)
expr
- expressionpublic static <T extends Number> WindowOver<T> avg(Expression<T> expr)
expr
- expressionpublic static <T extends Comparable> WindowOver<T> min(Expression<T> expr)
expr
- expressionpublic static <T extends Comparable> WindowOver<T> max(Expression<T> expr)
expr
- expressionpublic static <T> WindowOver<T> lead(Expression<T> expr)
expr
- expressionpublic static <T> WindowOver<T> lag(Expression<T> expr)
expr
- expressionpublic static WithinGroup<Object> listagg(Expression<?> expr, String delimiter)
expr
- measure columndelimiter
- delimiterpublic static <T> WindowOver<T> nthValue(Expression<T> expr, Number n)
expr
- measure expressionn
- one based row indexpublic static <T> WindowOver<T> nthValue(Expression<T> expr, Expression<? extends Number> n)
expr
- measure expressionn
- one based row indexpublic static <T extends Number & Comparable> WindowOver<T> ntile(T num)
num
- bucket sizepublic static WindowOver<Long> rank()
public static WithinGroup<Long> rank(Object... args)
args
- argumentspublic static WithinGroup<Long> rank(Expression<?>... args)
args
- argumentspublic static WindowOver<Long> denseRank()
public static WithinGroup<Long> denseRank(Object... args)
args
- argumentspublic static WithinGroup<Long> denseRank(Expression<?>... args)
args
- argumentspublic static WindowOver<Double> percentRank()
public static WithinGroup<Double> percentRank(Object... args)
args
- argumentspublic static WithinGroup<Double> percentRank(Expression<?>... args)
args
- argumentspublic static <T extends Number> WithinGroup<T> percentileCont(T arg)
arg
- argumentpublic static <T extends Number> WithinGroup<T> percentileCont(Expression<T> arg)
arg
- argumentpublic static <T extends Number> WithinGroup<T> percentileDisc(T arg)
This function takes as an argument any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype. The function returns the same datatype as the numeric datatype of the argument.
arg
- argumentpublic static <T extends Number> WithinGroup<T> percentileDisc(Expression<T> arg)
This function takes as an argument any numeric datatype or any nonnumeric datatype that can be implicitly converted to a numeric datatype. The function returns the same datatype as the numeric datatype of the argument.
arg
- argumentpublic static WindowOver<Double> regrSlope(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrIntercept(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrCount(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrR2(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrAvgx(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrAvgy(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrSxx(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
REGR_COUNT(arg1, arg2) * VAR_POP(arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrSyy(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
REGR_COUNT(arg1, arg2) * VAR_POP(arg1)
arg1
- first argarg2
- second argpublic static WindowOver<Double> regrSxy(Expression<? extends Number> arg1, Expression<? extends Number> arg2)
REGR_COUNT(arg1, arg2) * COVAR_POP(arg1, arg2)
arg1
- first argarg2
- second argpublic static WindowOver<Double> cumeDist()
public static WithinGroup<Double> cumeDist(Object... args)
args
- argumentspublic static WithinGroup<Double> cumeDist(Expression<?>... args)
args
- argumentspublic static WindowOver<Double> corr(Expression<? extends Number> expr1, Expression<? extends Number> expr2)
expr1
- first argexpr2
- second argpublic static WindowOver<Double> covarPop(Expression<? extends Number> expr1, Expression<? extends Number> expr2)
expr1
- first argexpr2
- second argpublic static WindowOver<Double> covarSamp(Expression<? extends Number> expr1, Expression<? extends Number> expr2)
expr1
- first argexpr2
- second argpublic static <T> WindowOver<T> ratioToReport(Expression<T> expr)
public static WindowOver<Long> rowNumber()
public static <T extends Number> WindowOver<T> stddev(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> stddevDistinct(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> stddevPop(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> stddevSamp(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> variance(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> varPop(Expression<T> expr)
expr
- argumentpublic static <T extends Number> WindowOver<T> varSamp(Expression<T> expr)
expr
- argumentpublic static <T> WindowOver<T> firstValue(Expression<T> expr)
expr
- argumentpublic static <T> WindowOver<T> lastValue(Expression<T> expr)
expr
- argumentpublic static StringExpression left(Expression<String> lhs, int rhs)
lhs
- stringrhs
- character amountpublic static StringExpression right(Expression<String> lhs, int rhs)
lhs
- stringrhs
- character amountpublic static StringExpression left(Expression<String> lhs, Expression<Integer> rhs)
lhs
- stringrhs
- character amountpublic static StringExpression right(Expression<String> lhs, Expression<Integer> rhs)
lhs
- stringrhs
- character amountpublic static StringExpression groupConcat(Expression<String> expr)
expr
- expression to be aggregatedpublic static StringExpression groupConcat(Expression<String> expr, String separator)
expr
- expression to be aggregatedseparator
- separator stringCopyright © 2007–2016 Querydsl. All rights reserved.