public final class Function extends Object
Modifier and Type | Method and Description |
---|---|
static Expression |
abs(Expression expression)
Creates an ABS(expr) function that returns the absolute value of the given numeric
expression.
|
static Expression |
acos(Expression expression)
Creates an ACOS(expr) function that returns the inverse cosine of the given numeric
expression.
|
static Expression |
asin(Expression expression)
Creates an ASIN(expr) function that returns the inverse sin of the given numeric
expression.
|
static Expression |
atan(Expression expression)
Creates an ATAN(expr) function that returns the inverse tangent of the numeric
expression.
|
static Expression |
atan2(Expression x,
Expression y)
Returns the angle theta from the conversion of rectangular coordinates (x, y)
to polar coordinates (r, theta).
|
static Expression |
avg(Expression expression)
Creates an AVG(expr) function expression that returns the average of all the number values
in the group of the values expressed by the given expression.
|
static Expression |
ceil(Expression expression)
Creates a CEIL(expr) function that returns the ceiling value of the given numeric
expression.
|
static Expression |
contains(Expression expression,
Expression substring)
Creates a CONTAINS(expr, substr) function that evaluates whether the given string
expression conatins the given substring expression or not.
|
static Expression |
cos(Expression expression)
Creates a COS(expr) function that returns the cosine of the given numeric expression.
|
static Expression |
count(Expression expression)
Creates a COUNT(expr) function expression that returns the count of all values
in the group of the values expressed by the given expression.
|
static Expression |
degrees(Expression expression)
Creates a DEGREES(expr) function that returns the degrees value of the given radiants
value expression.
|
static Expression |
e()
Creates a E() function that return the value of the mathemetical constant 'e'.
|
static Expression |
exp(Expression expression)
Creates a EXP(expr) function that returns the value of 'e' power by the given numeric
expression.
|
static Expression |
floor(Expression expression)
Creates a FLOOR(expr) function that returns the floor value of the given
numeric expression.
|
static Expression |
length(Expression expression)
Creates a LENGTH(expr) function that returns the length of the given string expression.
|
static Expression |
ln(Expression expression)
Creates a LN(expr) function that returns the natural log of the given numeric expression.
|
static Expression |
log(Expression expression)
Creates a LOG(expr) function that returns the base 10 log of the given numeric expression.
|
static Expression |
lower(Expression expression)
Creates a LOWER(expr) function that returns the lowercase string of the given string
expression.
|
static Expression |
ltrim(Expression expression)
Creates a LTRIM(expr) function that removes the whitespace from the beginning of the
given string expression.
|
static Expression |
max(Expression expression)
Creates a MAX(expr) function expression that returns the maximum value
in the group of the values expressed by the given expression.
|
static Expression |
min(Expression expression)
Creates a MIN(expr) function expression that returns the minimum value
in the group of the values expressed by the given expression.
|
static Expression |
pi()
Creates a PI() function that returns the mathemetical constant Pi.
|
static Expression |
power(Expression base,
Expression exponent)
Creates a POWER(base, exponent) function that returns the value of the given base
expression power the given exponent expression.
|
static Expression |
radians(Expression expression)
Creates a RADIANS(expr) function that returns the radians value of the given degrees
value expression.
|
static Expression |
round(Expression expression)
Creates a ROUND(expr) function that returns the rounded value of the given numeric
expression.
|
static Expression |
round(Expression expression,
Expression digits)
Creates a ROUND(expr, digits) function that returns the rounded value to the given
number of digits of the given numeric expression.
|
static Expression |
rtrim(Expression expression)
Creates a RTRIM(expr) function that removes the whitespace from the end of the
given string expression.
|
static Expression |
sign(Expression expression)
Creates a SIGN(expr) function that returns the sign (1: positive, -1: negative, 0: zero)
of the given numeric expression.
|
static Expression |
sin(Expression expression)
Creates a SIN(expr) function that returns the sin of the given numeric expression.
|
static Expression |
sqrt(Expression expression)
Creates a SQRT(expr) function that returns the square root of the given numeric expression.
|
static Expression |
sum(Expression expression)
Creates a SUM(expr) function expression that return the sum of all number values
in the group of the values expressed by the given expression.
|
static Expression |
tan(Expression expression)
Creates a TAN(expr) function that returns the tangent of the given numeric expression.
|
static Expression |
trim(Expression expression)
Creates a TRIM(expr) function that removes the whitespace from the beginning and
the end of the given string expression.
|
static Expression |
trunc(Expression expression)
Creates a TRUNC(expr) function that truncates all of the digits after the decimal place
of the given numeric expression.
|
static Expression |
trunc(Expression expression,
Expression digits)
Creates a TRUNC(expr, digits) function that truncates the number of the digits after
the decimal place of the given numeric expression.
|
static Expression |
upper(Expression expression)
Creates a UPPER(expr) function that returns the uppercase string of the given string expression.
|
public static Expression avg(Expression expression)
expression
- The expression.public static Expression count(Expression expression)
expression
- The expression.public static Expression min(Expression expression)
expression
- The expression.public static Expression max(Expression expression)
expression
- The expression.public static Expression sum(Expression expression)
expression
- The expression.public static Expression abs(Expression expression)
expression
- The expression.public static Expression acos(Expression expression)
expression
- The expression.public static Expression asin(Expression expression)
expression
- The expression.public static Expression atan(Expression expression)
expression
- The expression.public static Expression atan2(Expression x, Expression y)
x
- the abscissa coordinatey
- the ordinate coordinatepublic static Expression ceil(Expression expression)
expression
- The expression.public static Expression cos(Expression expression)
expression
- The expression.public static Expression degrees(Expression expression)
expression
- The expression.public static Expression e()
public static Expression exp(Expression expression)
expression
- The expression.public static Expression floor(Expression expression)
expression
- The expression.public static Expression ln(Expression expression)
expression
- The expression.public static Expression log(Expression expression)
expression
- The expression.public static Expression pi()
public static Expression power(Expression base, Expression exponent)
base
- The base expression.exponent
- The exponent expression.public static Expression radians(Expression expression)
expression
- The expression.public static Expression round(Expression expression)
expression
- The expression.public static Expression round(Expression expression, Expression digits)
expression
- The numeric expression.digits
- The number of digits.public static Expression sign(Expression expression)
expression
- The expression.public static Expression sin(Expression expression)
expression
- The numeric expression.public static Expression sqrt(Expression expression)
expression
- The numeric expression.public static Expression tan(Expression expression)
expression
- The numeric expression.public static Expression trunc(Expression expression)
expression
- The numeric expression.public static Expression trunc(Expression expression, Expression digits)
expression
- The numeric expression.digits
- The number of digits to truncate.public static Expression contains(Expression expression, Expression substring)
expression
- The string expression.substring
- The substring expression.public static Expression length(Expression expression)
expression
- The string expression.public static Expression lower(Expression expression)
expression
- The string expression.public static Expression ltrim(Expression expression)
expression
- The string expression.public static Expression rtrim(Expression expression)
expression
- The string expression.public static Expression trim(Expression expression)
expression
- The string expression.public static Expression upper(Expression expression)
expression
- The string expression.