static ScalarValuedFunction |
Math.abs(ScalarValuedFunction expr) |
Returns the absolute value of the given expression.
|
static ScalarValuedFunction |
Math.abs(String field) |
Returns the absolute value of the given field.
|
static ScalarValuedFunction |
Math.acos(ScalarValuedFunction expr) |
Returns the arc cosine of the given expression using radians.
|
static ScalarValuedFunction |
Math.acos(String field) |
Returns the arc cosine of the given field using radians.
|
static ScalarValuedFunction |
Arithmetic.add(double leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression adding a constant to the value of the specified
subexpression.
|
static ScalarValuedFunction |
Arithmetic.add(double leftValue,
String rightField) |
Builds an expression adding a constant to the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.add(ScalarValuedFunction leftExpr,
double rightValue) |
Builds an expression adding a constant to the value of the specified
subexpression.
|
static ScalarValuedFunction |
Arithmetic.add(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression adding the values of the two specified subexpressions.
|
static ScalarValuedFunction |
Arithmetic.add(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression adding a the value of the specified field and
subexpression.
|
static ScalarValuedFunction |
Arithmetic.add(String leftField,
double rightValue) |
Builds an expression adding a constant to the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.add(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression adding a the value of the specified field and
subexpression.
|
static ScalarValuedFunction |
Arithmetic.add(String leftField,
String rightField) |
Builds an expression adding the values of the two specified fields.
|
static ScalarValuedFunction |
DateTime.addTime(ScalarValuedFunction time,
ScalarValuedFunction delta,
DateTime.Granularity granularity) |
Adds a time period to the specified date/time value.
|
static ScalarValuedFunction |
DateTime.addTime(ScalarValuedFunction time,
ScalarValuedFunction delta,
DateTime.Granularity granularity,
TimeZone tz) |
Adds a time period to the specified date/time value.
|
static ScalarValuedFunction |
DateTime.addTime(String timeField,
String deltaField,
DateTime.Granularity granularity) |
Adds a time period to the specified date/time value.
|
static ScalarValuedFunction |
DateTime.addTime(String timeField,
String deltaField,
DateTime.Granularity granularity,
TimeZone tz) |
Adds a time period to the specified date/time value.
|
static ScalarValuedFunction |
Predicates.and(ScalarValuedFunction... ps) |
Builds a record predicate which is a logical and of the
specified predicates.
|
static ScalarValuedFunction |
Predicates.and(List<ScalarValuedFunction> ps) |
Builds a record predicate which is a logical and of the
specified predicates.
|
static ScalarValuedFunction |
Conversions.asBoolean(ScalarValuedFunction expr,
int truth,
int falsity) |
Convert an int typed field into a boolean type.
|
static ScalarValuedFunction |
Conversions.asBoolean(String field) |
Convert an int typed field into a boolean type.
|
static ScalarValuedFunction |
Conversions.asBoolean(String field,
int truth,
int falsity) |
Convert an int typed field into a boolean type.
|
static ScalarValuedFunction |
Conversions.asDate(ScalarValuedFunction expr) |
Convert a timestamp expression result into a date field.
|
static ScalarValuedFunction |
Conversions.asDate(String field) |
Convert a timestamp typed field into a date field.
|
static ScalarValuedFunction |
Conversions.asDouble(ScalarValuedFunction expr) |
Convert a numeric typed expression into a double type.
|
static ScalarValuedFunction |
Conversions.asDouble(String field) |
Convert a numeric typed field into a double type.
|
static ScalarValuedFunction |
Conversions.asFloat(ScalarValuedFunction expr) |
Convert a numeric typed expression into a float type.
|
static ScalarValuedFunction |
Conversions.asFloat(String field) |
Convert a numeric typed field into a float type.
|
static ScalarValuedFunction |
Math.asin(ScalarValuedFunction expr) |
Returns the arc sine of the given expression using radians.
|
static ScalarValuedFunction |
Math.asin(String field) |
Returns the arc sine of the given field using radians.
|
static ScalarValuedFunction |
Conversions.asInt(ScalarValuedFunction expr) |
Convert a numeric typed expression into an integer type.
|
static ScalarValuedFunction |
Conversions.asInt(String field) |
Convert a numeric typed field into an integer type.
|
static ScalarValuedFunction |
Conversions.asLong(ScalarValuedFunction expr) |
Convert a numeric typed expression into a long type.
|
static ScalarValuedFunction |
Conversions.asLong(String field) |
Convert a numeric typed field into a long type.
|
static ScalarValuedFunction |
Conversions.asMoney(ScalarValuedFunction expr) |
Convert a numeric typed expression into a money type.
|
static ScalarValuedFunction |
Conversions.asMoney(String field) |
Convert a numeric typed field into a money type.
|
static ScalarValuedFunction |
Conversions.asNumeric(ScalarValuedFunction expr) |
Convert a numeric typed expression into a numeric type.
|
static ScalarValuedFunction |
Conversions.asNumeric(String field) |
Convert a numeric typed field into a numeric type.
|
static ScalarValuedFunction |
Conversions.asTime(ScalarValuedFunction expr) |
Convert a timestamp expression result into a time field.
|
static ScalarValuedFunction |
Conversions.asTime(String field) |
Convert a timestamp typed field into a time field.
|
static ScalarValuedFunction |
Math.atan(ScalarValuedFunction expr) |
Returns the arc tangent of the given expression using radians.
|
static ScalarValuedFunction |
Math.atan(String field) |
Returns the arc tangent of the given field using radians.
|
static ScalarValuedFunction |
Math.atan2(ScalarValuedFunction y,
ScalarValuedFunction x) |
Returns the angle theta from the conversion of rectangular coordinates (x , y ) to polar coordinates (r, theta).
|
static ScalarValuedFunction |
Math.atan2(String y,
String x) |
Returns the angle theta from the conversion of rectangular coordinates (x,y) to polar coordinates (r, theta).
|
static ScalarValuedFunction |
Statistics.avg(String... fields) |
Builds an expression computing the average of the values of the specified fields.
|
static ScalarValuedFunction |
Statistics.avg(List<ScalarValuedFunction> exprs) |
Builds an expression computing the average of the specified expressions.
|
static ScalarValuedFunction |
Conditionals.caseWhen(ScalarValuedFunction base,
List<ScalarValuedFunction> cases,
List<ScalarValuedFunction> results) |
Builds a conditional expression which evaluates similarly to a switch statement.
|
static ScalarValuedFunction |
Conditionals.caseWhen(ScalarValuedFunction base,
List<ScalarValuedFunction> cases,
List<ScalarValuedFunction> results,
ScalarValuedFunction defaultResult) |
Builds a conditional expression which evaluates similarly to a switch statement.
|
static ScalarValuedFunction |
Conditionals.caseWhen(List<ScalarValuedFunction> expressions,
List<ScalarValuedFunction> results) |
Builds a conditional expression which evaluates similarly to a chain of if..else statement.
|
static ScalarValuedFunction |
Conditionals.caseWhen(List<ScalarValuedFunction> expressions,
List<ScalarValuedFunction> results,
ScalarValuedFunction defaultResult) |
Builds a conditional expression which evaluates similarly to a chain of if..else statement.
|
static ScalarValuedFunction |
Math.cbrt(ScalarValuedFunction expr) |
Returns the cube root of the given expression.
|
static ScalarValuedFunction |
Math.cbrt(String field) |
Returns the cube root of the given field.
|
static ScalarValuedFunction |
Math.ceil(ScalarValuedFunction expr) |
Returns the ceiling of the given expression.
|
static ScalarValuedFunction |
Math.ceil(String field) |
Returns the ceiling of the given field.
|
static ScalarValuedFunction |
Strings.concat(ScalarValuedFunction... exprs) |
Builds a function returning a concatenation of the string
representations of the evaluated expressions.
|
static ScalarValuedFunction |
Strings.concat(Strings.NullConcatenation nullHandling,
ScalarValuedFunction... exprs) |
Builds a function returning a concatenation of the string
representations of the evaluated expressions.
|
static ScalarValuedFunction |
Strings.concat(Strings.NullConcatenation nullHandling,
List<ScalarValuedFunction> exprs) |
Builds a function returning a concatenation of the string
representations of the evaluated expressions.
|
static ScalarValuedFunction |
Strings.concat(List<ScalarValuedFunction> exprs) |
Builds a function returning a concatenation of the string
representations of the evaluated expressions.
|
static ScalarValuedFunction |
ConstantReference.constant(boolean value) |
Creates a function evaluating to the specified boolean
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(byte[] value) |
Creates a function evaluating to the specified binary
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(char value) |
Creates a function evaluating to the specified char
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(double value) |
Creates a function evaluating to the specified double
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(float value) |
Creates a function evaluating to the specified float
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(int value) |
Creates a function evaluating to the specified int
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(long value) |
Creates a function evaluating to the specified long
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(ScalarToken value) |
Creates a function evaluating to the specified value.
|
static ScalarValuedFunction |
ConstantReference.constant(String value) |
Creates a function evaluating to the specified string
constant.
|
static ScalarValuedFunction |
ConstantReference.constant(BigDecimal value) |
Creates a function evaluating to the specified numeric
constant.
|
static <O> ScalarValuedFunction |
ConstantReference.constant(O value) |
Creates a function evaluating to the specified object
constant.
|
static ScalarValuedFunction |
MapFunctions.containsKey(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to check if an expression contains a mapping for the key specified by the
other expression.
|
static ScalarValuedFunction |
MapFunctions.containsKey(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to check if an expression contains a mapping for the key specified by the
other field.
|
static ScalarValuedFunction |
MapFunctions.containsKey(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a field contains a mapping for the key specified by an
expression.
|
static ScalarValuedFunction |
MapFunctions.containsKey(String leftField,
String rightField) |
Builds an expression to check if a field contains a mapping for the key specified by the
other field.
|
static ScalarValuedFunction |
MapFunctions.containsKey(Map<Object,Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a constant contains a mapping for the key specified by an
expression.
|
static ScalarValuedFunction |
MapFunctions.containsKey(Map<Object,Object> leftValue,
String rightField) |
Builds an expression to check if a constant contains a mapping for the key specified by the
other field.
|
static ScalarValuedFunction |
Math.copySign(ScalarValuedFunction magnitude,
ScalarValuedFunction sign) |
Returns magnitude with the sign of sign .
|
static ScalarValuedFunction |
Math.copySign(String magnitude,
String sign) |
Returns magnitude with the sign of sign .
|
static ScalarValuedFunction |
Math.cos(ScalarValuedFunction expr) |
Returns the cosine of the given expression using radians.
|
static ScalarValuedFunction |
Math.cos(String field) |
Returns the cosine of the given field using radians.
|
static ScalarValuedFunction |
Math.cosh(ScalarValuedFunction expr) |
Returns the hyperbolic cosine of the given expression using radians.
|
static ScalarValuedFunction |
Math.cosh(String field) |
Returns the hyperbolic cosine of the given field using radians.
|
static ScalarValuedFunction |
DateTime.currentDate() |
Returns the current date in the time zone of the local machine.
|
static ScalarValuedFunction |
DateTime.currentDate(TimeZone tz) |
Returns the current date in the specified time zone.
|
static ScalarValuedFunction |
DateTime.currentTime() |
Returns the current time of day in the time zone of the local machine.
|
static ScalarValuedFunction |
DateTime.currentTime(TimeZone tz) |
Returns the current time of day in the specified time zone.
|
static ScalarValuedFunction |
DateTime.currentTimestamp() |
Returns the current time stamp in the time zone of the local machine.
|
static ScalarValuedFunction |
DateTime.currentTimestamp(TimeZone tz) |
Returns the current time stamp in the specified time zone.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
FunctionTyper typer,
EvaluatorFactory factory,
Object... args) |
Defines an instance of a function requiring complex logic for
determining result type and/or checking function arguments, as well as
needing to choose between possible evaluator implementations.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
FunctionTyper typer,
Class<? extends FunctionEvaluator> evaluator,
Object... args) |
Defines an instance of a function returning a result using an evaluator of the given class,
but with complex type restrictions and/or variable output type.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
ScalarTokenType resultType,
EvaluatorFactory factory,
Object... args) |
Defines an instance of a function returning a result of the specified type
but needing to choose between possible evaluator implementations.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
ScalarTokenType resultType,
Class<? extends FunctionEvaluator> evaluator,
Object... args) |
Defines an instance of a function returning a result of the specified type
and using an evaluator of the given class.
|
static ScalarValuedFunction |
Arithmetic.div(double leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression dividing a constant by the value of the specified subexpression.
|
static ScalarValuedFunction |
Arithmetic.div(double leftValue,
String rightField) |
Builds an expression dividing a constant by the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.div(ScalarValuedFunction leftExpr,
double rightValue) |
Builds an expression dividing the value of the specified subexpression by a constant.
|
static ScalarValuedFunction |
Arithmetic.div(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression dividing the values of the two specified subexpressions.
|
static ScalarValuedFunction |
Arithmetic.div(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression dividing a subexpression by the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.div(String leftField,
double rightValue) |
Builds an expression dividing the value of the specified field by a constant.
|
static ScalarValuedFunction |
Arithmetic.div(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression dividing the value of the specified field by a subexpression.
|
static ScalarValuedFunction |
Arithmetic.div(String leftField,
String rightField) |
Builds an expression dividing the values of the two specified fields.
|
static ScalarValuedFunction |
Math.e() |
Returns the constant value e.
|
static ScalarValuedFunction |
Predicates.eq(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests the equality of
the specified expressions.
|
static ScalarValuedFunction |
Predicates.eq(String field,
ScalarValued value) |
Builds a record predicate which tests the equality of
the specified field with a known value.
|
static ScalarValuedFunction |
Predicates.eq(String leftField,
String rightField) |
Builds a record predicate which tests the equality of
the specified fields.
|
static ScalarValuedFunction |
Math.exp(ScalarValuedFunction expr) |
Returns e raised to the power of the given expression.
|
static ScalarValuedFunction |
Math.exp(String field) |
Returns e raised to the power of the given field.
|
static ScalarValuedFunction |
Math.expm1(ScalarValuedFunction expr) |
Returns e raised to the power of the given expression minus 1.
|
static ScalarValuedFunction |
Math.expm1(String field) |
Returns e raised to the power of the given field minus 1.
|
static ScalarValuedFunction |
Actions.fail(ScalarValuedFunction expr,
String message) |
Will throw an exception if the expression evaluates to true.
|
static ScalarValuedFunction |
Actions.fail(String field) |
Will throw an exception if the field evaluates to true.
|
static ScalarValuedFunction |
Actions.fail(String field,
String message) |
|
static ScalarValuedFunction |
Strings.find(ScalarValuedFunction value,
String pattern) |
Builds a function returning the first index of the substring
that matches the provided pattern in the string value to which the
specified expression evaluates.
|
static ScalarValuedFunction |
Strings.find(String field,
String pattern) |
Builds a function returning the first index of the substring
that matches the provided pattern in the specified string field.
|
static ScalarValuedFunction |
Math.floor(ScalarValuedFunction expr) |
Returns the floor of the given expression.
|
static ScalarValuedFunction |
Math.floor(String field) |
Returns the floor of the given field.
|
static ScalarValuedFunction |
Formatting.format(String format,
ScalarValuedFunction... exprs) |
Format output values of the given functions using the given format.
|
static ScalarValuedFunction |
Formatting.format(String format,
List<ScalarValuedFunction> exprs) |
Format the output values of the given functions using the given format.
|
static ScalarValuedFunction |
Formatting.formatValues(String format,
String[] fieldNames) |
Format values for the fields within a record token using the given format.
|
static ScalarValuedFunction |
Math.getExponent(ScalarValuedFunction expr) |
Returns the unbiased exponent used in the representation of a double or float.
|
static ScalarValuedFunction |
Math.getExponent(String field) |
Returns the unbiased exponent used in the representation of a double or float.
|
ScalarValuedFunction |
FunctionRegistry.getFunction(String name,
ScalarValuedFunction[] arguments) |
Invoke a ScalarValuedFunction by name, using the supplied arguments.
|
static ScalarValuedFunction |
DateTime.getTextValue(ScalarValuedFunction expr,
DateTime.DateTimeValue valueType) |
Create a function that will extract the wanted date or time value as text
from the given function applied to a record flow.
|
static ScalarValuedFunction |
DateTime.getTextValue(ScalarValuedFunction expr,
DateTime.DateTimeValue valueType,
TimeZone tz) |
Create a function that will extract the wanted date or time value as text
from the given function applied to a record flow.
|
static ScalarValuedFunction |
DateTime.getTextValue(String field,
DateTime.DateTimeValue valueType) |
Create a function that will extract the wanted date or time value as text
from the named field contained in a record flow.
|
static ScalarValuedFunction |
DateTime.getTextValue(String field,
DateTime.DateTimeValue valueType,
TimeZone tz) |
Create a function that will extract the wanted date or time value as text
from the named field contained in a record flow.
|
static ScalarValuedFunction |
DateTime.getValue(ScalarValuedFunction expr,
DateTime.DateTimeValue valueType) |
Create a function that will extract the wanted date or time value
from the given function applied to a record flow.
|
static ScalarValuedFunction |
DateTime.getValue(ScalarValuedFunction expr,
DateTime.DateTimeValue valueType,
TimeZone tz) |
Create a function that will extract the wanted date or time value
from the given function applied to a record flow.
|
static ScalarValuedFunction |
DateTime.getValue(String field,
DateTime.DateTimeValue valueType) |
Create a function that will extract the wanted date or time value
from the named field contained in a record flow.
|
static ScalarValuedFunction |
DateTime.getValue(String field,
DateTime.DateTimeValue valueType,
TimeZone tz) |
Create a function that will extract the wanted date or time value
from the named field contained in a record flow.
|
static ScalarValuedFunction |
Predicates.gt(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests whether a specified
expression is strictly greater than another.
|
static ScalarValuedFunction |
Predicates.gt(String leftField,
ScalarValued rightValue) |
Builds a record predicate which tests whether a field is
strictly greater than a known value.
|
static ScalarValuedFunction |
Predicates.gt(String leftField,
String rightField) |
Builds a record predicate which tests whether a field is
strictly greater than another field.
|
static ScalarValuedFunction |
Predicates.gte(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests whether a specified
expression is greater than or equal to another.
|
static ScalarValuedFunction |
Predicates.gte(String leftField,
ScalarValued rightValue) |
Builds a record predicate which tests whether a field is
greater than or equal to a known value.
|
static ScalarValuedFunction |
Predicates.gte(String leftField,
String rightField) |
Builds a record predicate which tests whether a field is
greater than or equal to another field.
|
static ScalarValuedFunction |
Math.hypot(ScalarValuedFunction x,
ScalarValuedFunction y) |
Returns sqrt(x2 + y2) without intermediate overflow or underflow.
|
static ScalarValuedFunction |
Math.hypot(String x,
String y) |
Returns sqrt(x2 + y2) without intermediate overflow or underflow.
|
static ScalarValuedFunction |
Math.IEEEremainder(ScalarValuedFunction dividend,
ScalarValuedFunction divisor) |
Returns the IEEE 754 standard remainder.
|
static ScalarValuedFunction |
Math.IEEEremainder(String dividend,
String divisor) |
Returns the IEEE 754 standard remainder.
|
static ScalarValuedFunction |
Conditionals.ifNull(ScalarValuedFunction value,
ScalarValuedFunction replacement) |
Build a conditional expression which evaluates to the value of the
specified expression, if non-null.
|
static ScalarValuedFunction |
Conditionals.ifNull(String field,
ScalarValuedFunction replacement) |
Build a conditional expression which evaluates to the value of a
field, if non-null.
|
static ScalarValuedFunction |
Conditionals.ifThenElse(ScalarValuedFunction predicate,
ScalarValuedFunction trueValue,
ScalarValuedFunction falseValue) |
Builds a conditional expression which evaluates to one of two
subexpressions based on the result of the given predicate.
|
static ScalarValuedFunction |
Strings.indexOf(ScalarValuedFunction value,
ScalarValuedFunction string) |
Builds a function returning the first index of the specified string
that occurs in the string value to which the specified expression
evaluates.
|
static ScalarValuedFunction |
Strings.indexOf(ScalarValuedFunction value,
String str) |
Builds a function returning the first index of the specified string
that occurs in the string value to which the specified expression
evaluates.
|
static ScalarValuedFunction |
Strings.indexOf(String field,
String str) |
Builds a function returning the first index of the specified substring
in the specified string field.
|
static ScalarValuedFunction |
Predicates.isFalse(ScalarValuedFunction p) |
Builds a record predicate which tests whether the
specified predicate is false.
|
static ScalarValuedFunction |
Predicates.isNull(ScalarValuedFunction expr) |
Builds a record predicate which tests whether the
specified expression evaluates to null .
|
static ScalarValuedFunction |
Predicates.isNull(String field) |
Builds a record predicate which tests whether a record field is
null-valued.
|
static ScalarValuedFunction |
Predicates.isTrue(ScalarValuedFunction p) |
Builds a record predicate which tests whether the
specified predicate is true.
|
static ScalarValuedFunction |
Strings.lastIndexOf(ScalarValuedFunction value,
ScalarValuedFunction string) |
Builds a function returning the last index of the specified string
that occurs in the string value to which the specified expression
evaluates.
|
static ScalarValuedFunction |
Strings.lastIndexOf(ScalarValuedFunction value,
String str) |
Builds a function returning the last index of the specified string
that occurs in the string value to which the specified expression
evaluates.
|
static ScalarValuedFunction |
Strings.lastIndexOf(String field,
String str) |
Builds a function returning the last index of the specified substring
in the specified string field.
|
static ScalarValuedFunction |
Strings.length(ScalarValuedFunction expr) |
Builds a function returning the length of the string value
to which the given expression evaluates.
|
static ScalarValuedFunction |
Strings.length(String field) |
Builds a function returning the length of the string value
in the specified field.
|
static ScalarValuedFunction |
Predicates.like(ScalarValuedFunction expr,
String pattern) |
Builds a record predicate which tests whether the
value of an expression matches a specified SQL LIKE pattern.
|
static ScalarValuedFunction |
Predicates.like(String field,
String pattern) |
Builds a record predicate which tests whether the
value of a field matches a specified SQL LIKE pattern.
|
static ScalarValuedFunction |
ListFunctions.listConcat(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression concatenating the values of the two specified subexpressions.
|
static ScalarValuedFunction |
ListFunctions.listConcat(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression concatenating a the value of the specified field and subexpression.
|
static ScalarValuedFunction |
ListFunctions.listConcat(ScalarValuedFunction leftExpr,
List<Object> rightValue) |
Builds an expression concatenating a constant to the value of the specified subexpression.
|
static ScalarValuedFunction |
ListFunctions.listConcat(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression concatenating the value of a specified field and subexpression.
|
static ScalarValuedFunction |
ListFunctions.listConcat(String leftField,
String rightField) |
Builds an expression concatenating the values of the two specified
fields.
|
static ScalarValuedFunction |
ListFunctions.listConcat(String leftField,
List<Object> rightValue) |
Builds an expression concatenating a constant to the value of the specified field.
|
static ScalarValuedFunction |
ListFunctions.listConcat(List<Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression concatenating a the value of the specified field and subexpression.
|
static ScalarValuedFunction |
ListFunctions.listConcat(List<Object> leftValue,
String rightField) |
Builds an expression concatenating a constant to the value of the specified field.
|
static ScalarValuedFunction |
ListFunctions.listContains(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to check if an expression contains a value specified by a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listContains(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to check if an expression contains a value specified by a field.
|
static ScalarValuedFunction |
ListFunctions.listContains(ScalarValuedFunction expr,
List<Object> value) |
Builds an expression to check if an expression contains a value specified by a field.
|
static ScalarValuedFunction |
ListFunctions.listContains(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a field contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContains(String leftField,
String rightField) |
Builds an expression to check if a field contains a value specified by the other field.
|
static ScalarValuedFunction |
ListFunctions.listContains(String field,
List<Object> value) |
Builds an expression to check if a field contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContains(List<Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a constant contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContains(List<Object> leftValue,
String rightField) |
Builds an expression to check if a constant contains a value specified by other field.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to check if an expression contains a value specified by a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to check if an expression contains a value specified by a field.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(ScalarValuedFunction expr,
List<Object> value) |
Builds an expression to check if an expression contains a value specified by a field.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a field contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(String leftField,
String rightField) |
Builds an expression to check if a field contains a value specified by the other field.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(String field,
List<Object> value) |
Builds an expression to check if a field contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(List<Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to check if a constant contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listContainsAll(List<Object> leftValue,
String rightField) |
Builds an expression to check if a constant contains a value specified by other field.
|
static ScalarValuedFunction |
ListFunctions.listDistinct(ScalarValuedFunction expr) |
Builds an expression to get distinct set of elements from a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listDistinct(String field) |
Builds an expression to get distinct set of elements from a specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(ScalarValuedFunction leftExpr,
int rightValue) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value at a particular index from specified expression.
|
static ScalarValuedFunction |
ListFunctions.listGet(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(String leftField,
int rightValue) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(String leftField,
String rightField) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(List<Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listGet(List<Object> leftValue,
String rightField) |
Builds an expression to get the value at a particular index from specified field.
|
static ScalarValuedFunction |
ListFunctions.listReverse(ScalarValuedFunction expr) |
Builds an expression to reverse the order of the elements in the specified expression.
|
static ScalarValuedFunction |
ListFunctions.listReverse(String field) |
Builds an expression to reverse the order of the elements in the specified field.
|
static ScalarValuedFunction |
ListFunctions.listSize(ScalarValuedFunction expr) |
Builds an expression to get the number of elements in specified ScalarValuedFunction expression.
|
static ScalarValuedFunction |
ListFunctions.listSize(String field) |
Builds an expression to get the number of elements in specified field.
|
static ScalarValuedFunction |
ListFunctions.listSort(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to sort elements of a ScalarValuedFunction as specified by the other.
|
static ScalarValuedFunction |
ListFunctions.listSort(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to sort elements of a ScalarValuedFunction as specified by a field.
|
static ScalarValuedFunction |
ListFunctions.listSort(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to sort elements of a field as specified by a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listSort(String leftField,
String rightField) |
Builds an expression to sort elements of a field as specified by the other.
|
static ScalarValuedFunction |
ListFunctions.listSort(List<Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to sort elements of a constant as specified by a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listSort(List<Object> leftValue,
String rightField) |
Builds an expression to sort elements of a constant as specified by the other.
|
static ScalarValuedFunction |
ListFunctions.listToString(ScalarValuedFunction expr) |
Builds an expression to get the string representation of a ScalarValuedFunction.
|
static ScalarValuedFunction |
ListFunctions.listToString(String field) |
Builds an expression to get the string representation of a specified field.
|
static ScalarValuedFunction |
Math.log(ScalarValuedFunction expr) |
Returns the natural logarithm of the given expression.
|
static ScalarValuedFunction |
Math.log(String field) |
Returns the natural logarithm of the given field.
|
static ScalarValuedFunction |
Math.log10(ScalarValuedFunction expr) |
Returns the base 10 logarithm of the given expression.
|
static ScalarValuedFunction |
Math.log10(String field) |
Returns the base 10 logarithm of the given field.
|
static ScalarValuedFunction |
Math.log1p(ScalarValuedFunction expr) |
Returns the natural logarithm of 1 plus the given expression.
|
static ScalarValuedFunction |
Math.log1p(String field) |
Returns the natural logarithm of 1 plus the given field.
|
static ScalarValuedFunction |
Predicates.lt(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests whether a specified
expression is strictly less than another.
|
static ScalarValuedFunction |
Predicates.lt(String leftField,
ScalarValued rightValue) |
Builds a record predicate which tests whether a field is
strictly less than a known value.
|
static ScalarValuedFunction |
Predicates.lt(String leftField,
String rightField) |
Builds a record predicate which tests whether a field is
strictly less than another field.
|
static ScalarValuedFunction |
Predicates.lte(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests whether a specified
expression is less than or equal to another.
|
static ScalarValuedFunction |
Predicates.lte(String leftField,
ScalarValued rightValue) |
Builds a record predicate which tests whether a field is
less than or equal to a known value.
|
static ScalarValuedFunction |
Predicates.lte(String leftField,
String rightField) |
Builds a record predicate which tests whether a field is
less than or equal to another field.
|
ScalarValuedFunction |
ConstantReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
|
ScalarValuedFunction |
FieldReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
|
ScalarValuedFunction |
ScalarValuedFunction.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
Creates a new function, equivalent to the given function, but with specified field references
mapped to functions.
|
static ScalarValuedFunction |
MapFunctions.mapGet(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value mapped to a key from specified ScalarValuedFunction.
|
static ScalarValuedFunction |
MapFunctions.mapGet(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression to get the value mapped to a key from specified ScalarValuedFunction.
|
static ScalarValuedFunction |
MapFunctions.mapGet(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value mapped to a key from specified field.
|
static ScalarValuedFunction |
MapFunctions.mapGet(String leftField,
String rightField) |
Builds an expression to get the value mapped to a key from specified field.
|
static ScalarValuedFunction |
MapFunctions.mapGet(Map<Object,Object> leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression to get the value mapped to a key from specified constant.
|
static ScalarValuedFunction |
MapFunctions.mapGet(Map<Object,Object> leftValue,
String rightField) |
Builds an expression to get the value mapped to a key from specified constant.
|
static ScalarValuedFunction |
MapFunctions.mapSize(ScalarValuedFunction expr) |
Builds an expression to get the number of kay-value mappings in ScalarValuedFunction expression.
|
static ScalarValuedFunction |
MapFunctions.mapSize(String field) |
Builds an expression to get the number of kay-value mappings in the specified field.
|
static ScalarValuedFunction |
MapFunctions.mapToString(ScalarValuedFunction expr) |
Builds an expression to get the string representation of a ScalarValuedFunction.
|
static ScalarValuedFunction |
MapFunctions.mapToString(String field) |
Builds an expression to get the string representation of a specified field.
|
static ScalarValuedFunction |
Predicates.matches(ScalarValuedFunction expr,
String pattern) |
Builds a record predicate which tests whether the
value of an expression matches a specified regular expression.
|
static ScalarValuedFunction |
Predicates.matches(String field,
String pattern) |
Builds a record predicate which tests whether the
value of a field matches a specified regular expression.
|
static ScalarValuedFunction |
Math.max(String... fields) |
Returns the maximum of the argument values.
|
static ScalarValuedFunction |
Math.max(List<ScalarValuedFunction> exprs) |
Returns the maximum of the argument values.
|
static ScalarValuedFunction |
Math.maxNotNull(String... fields) |
Returns the maximum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Math.maxNotNull(List<ScalarValuedFunction> exprs) |
Returns the maximum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Strings.mid(ScalarValuedFunction expr,
int index,
int length) |
Builds a function returning a substring of the string
value to which the specified expression evaluates.
|
static ScalarValuedFunction |
Strings.mid(ScalarValuedFunction expr,
int index,
ScalarValuedFunction length) |
Builds a function returning a substring of the string
value to which the specified expression evaluates.
|
static ScalarValuedFunction |
Strings.mid(ScalarValuedFunction expr,
ScalarValuedFunction index,
int length) |
Builds a function returning a substring of the string
value to which the specified expression evaluates.
|
static ScalarValuedFunction |
Strings.mid(ScalarValuedFunction expr,
ScalarValuedFunction index,
ScalarValuedFunction length) |
Builds a function returning a substring of the string
value to which the specified expression evaluates.
|
static ScalarValuedFunction |
Strings.mid(String field,
int index,
int length) |
Builds a function returning a substring of the string
value in the specified field.
|
static ScalarValuedFunction |
Math.min(String... fields) |
Returns the minimum of the argument values.
|
static ScalarValuedFunction |
Math.min(List<ScalarValuedFunction> exprs) |
Returns the minimum of the argument values.
|
static ScalarValuedFunction |
Math.minNotNull(String... fields) |
Returns the minimum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Math.minNotNull(List<ScalarValuedFunction> exprs) |
Returns the minimum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Arithmetic.mult(double leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression multiplying the value of the specified subexpression by a constant.
|
static ScalarValuedFunction |
Arithmetic.mult(double leftValue,
String rightField) |
Builds an expression multiplying the value of the specified field by a constant.
|
static ScalarValuedFunction |
Arithmetic.mult(ScalarValuedFunction leftExpr,
double rightValue) |
Builds an expression multiplying the value of the specified subexpression by a constant.
|
static ScalarValuedFunction |
Arithmetic.mult(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression multiplying the values of the two specified subexpressions.
|
static ScalarValuedFunction |
Arithmetic.mult(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression multiplying the values of the specified field and subexpression.
|
static ScalarValuedFunction |
Arithmetic.mult(String leftField,
double rightValue) |
Builds an expression multiplying the value of the specified field by a constant.
|
static ScalarValuedFunction |
Arithmetic.mult(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression multiplying the values of the specified field and subexpression.
|
static ScalarValuedFunction |
Arithmetic.mult(String leftField,
String rightField) |
Builds an expression multiplying the values of the two specified fields.
|
static ScalarValuedFunction |
Arithmetic.neg(ScalarValuedFunction expr) |
Builds an expression negating the value of the specified subexpression.
|
static ScalarValuedFunction |
Arithmetic.neg(String field) |
Builds an expression negating the value of the specified field.
|
static ScalarValuedFunction |
Predicates.neq(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds a record predicate which tests the inequality of
the specified expressions.
|
static ScalarValuedFunction |
Predicates.neq(String field,
ScalarValued value) |
Builds a record predicate which tests the inequality of
the specified field with a known value.
|
static ScalarValuedFunction |
Predicates.neq(String leftField,
String rightField) |
Builds a record predicate which tests the inequality of
the specified fields.
|
static ScalarValuedFunction |
Math.nextAfter(ScalarValuedFunction start,
ScalarValuedFunction direction) |
Returns the floating point number adjacent to the first argument in the direction of the second argument.
|
static ScalarValuedFunction |
Math.nextAfter(String start,
String direction) |
Returns the floating point number adjacent to the first argument in the direction of the second argument.
|
static ScalarValuedFunction |
Math.nextUp(ScalarValuedFunction start) |
Returns the floating point number adjacent to the argument in the direction of positive infinity.
|
static ScalarValuedFunction |
Math.nextUp(String start) |
Returns the floating point number adjacent to the argument in the direction of positive infinity.
|
static ScalarValuedFunction |
GeneratorFunctions.nonRandomUUID() |
Returns a NonRandom UUID as a String.
|
static ScalarValuedFunction |
Predicates.not(ScalarValuedFunction p) |
Builds a record predicate which is a logical negation of
specified predicate.
|
static ScalarValuedFunction |
Predicates.notFalse(ScalarValuedFunction p) |
Builds a record predicate which tests whether the
specified predicate is not false.
|
static ScalarValuedFunction |
Predicates.notNull(ScalarValuedFunction expr) |
Builds a record predicate which tests whether the
specified expression does not evaluate to null .
|
static ScalarValuedFunction |
Predicates.notNull(String field) |
Builds a record predicate which tests whether a record field is
not null-valued.
|
static ScalarValuedFunction |
Predicates.notTrue(ScalarValuedFunction p) |
Builds a record predicate which tests whether the
specified predicate is not true.
|
static ScalarValuedFunction |
ConstantReference.nullValue() |
Creates a function evaluating to null.
|
static ScalarValuedFunction |
ConstantReference.nullValue(ScalarValuedFunction expr) |
Deprecated.
|
static ScalarValuedFunction |
ConstantReference.nullValue(String fieldName) |
Deprecated.
|
static ScalarValuedFunction |
Predicates.or(ScalarValuedFunction... ps) |
Builds a record predicate which is a logical or of the
specified predicates.
|
static ScalarValuedFunction |
Predicates.or(List<ScalarValuedFunction> ps) |
Builds a record predicate which is a logical or of the
specified predicates.
|
static ScalarValuedFunction |
Math.pi() |
Returns the constant value pi.
|
static ScalarValuedFunction |
Math.pow(ScalarValuedFunction base,
ScalarValuedFunction exponent) |
Returns base raised to the exponent power.
|
static ScalarValuedFunction |
Math.pow(String base,
String exponent) |
Returns base raised to the exponent power.
|
static ScalarValuedFunction |
Math.precision(ScalarValuedFunction expr) |
Return the precision of the given expression.
|
static ScalarValuedFunction |
Math.precision(String field) |
Returns the precision of the field.
|
static ScalarValuedFunction |
Math.random() |
Returns a random double value greater than or equal to 0 and less than 1.
|
static ScalarValuedFunction |
GeneratorFunctions.randomUUID() |
Returns a random UUID as a String.
|
static ScalarValuedFunction |
Arithmetic.remainder(double leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression dividing a constant by the value of the specified subexpression and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(double leftValue,
String rightField) |
Builds an expression dividing a constant by the value of the specified field and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(ScalarValuedFunction leftExpr,
double rightValue) |
Builds an expression dividing the value of the specified subexpression by a constant and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression dividing the values of the two specified subexpressions and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression dividing a subexpression by the value of the specified field and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(String leftField,
double rightValue) |
Builds an expression dividing the value of the specified field by a constant and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression dividing the value of the specified field by a subexpression and returning the remainder.
|
static ScalarValuedFunction |
Arithmetic.remainder(String leftField,
String rightField) |
Builds an expression dividing the values of the two specified fields and returning the remainder.
|
ScalarValuedFunction |
ConstantReference.remapFieldReferences(Map<String,String> oldToNewMapping) |
|
ScalarValuedFunction |
FieldReference.remapFieldReferences(Map<String,String> oldToNewMapping) |
|
ScalarValuedFunction |
ScalarValuedFunction.remapFieldReferences(Map<String,String> oldToNewMapping) |
Creates a new function, equivalent to the given function, but with all field references
renamed according to the given mapping.
|
static ScalarValuedFunction |
Strings.replaceAll(ScalarValuedFunction value,
String pattern,
ScalarValuedFunction replacement) |
Builds a function replacing all occurrences of a given pattern
in the result of a specified expression.
|
static ScalarValuedFunction |
Strings.replaceAll(ScalarValuedFunction value,
String pattern,
String replacement) |
Builds a function replacing all occurrences of a given pattern
in the result of a specified expression.
|
static ScalarValuedFunction |
Strings.replaceAll(String field,
String pattern,
String replacement) |
Builds a function replacing all occurrences of a given pattern
in the specified field value.
|
static ScalarValuedFunction |
Strings.replaceFirst(ScalarValuedFunction value,
String pattern,
ScalarValuedFunction replacement) |
Builds a function replacing the first occurrence of a given pattern
in the result of a specified expression.
|
static ScalarValuedFunction |
Strings.replaceFirst(ScalarValuedFunction value,
String pattern,
String replacement) |
Builds a function replacing the first occurrence of a given pattern
in the result of a specified expression.
|
static ScalarValuedFunction |
Strings.replaceFirst(String field,
String pattern,
String replacement) |
Builds a function replacing the first occurrence of a given pattern
in the specified field value.
|
static ScalarValuedFunction |
Math.rint(ScalarValuedFunction expr) |
Returns the double value closest to the given expression and equal to a mathematical integer.
|
static ScalarValuedFunction |
Math.rint(String field) |
Returns the double value closest to the given field and equal to a mathematical integer.
|
static ScalarValuedFunction |
Math.round(ScalarValuedFunction expr) |
Returns the expression rounded to the nearest whole number.
|
static ScalarValuedFunction |
Math.round(String field) |
Returns the expression rounded to the nearest whole number.
|
static ScalarValuedFunction |
Math.scalb(ScalarValuedFunction expr,
ScalarValuedFunction scaleFactor) |
Returns expr × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double or float value set.
|
static ScalarValuedFunction |
Math.scalb(String expr,
String scaleFactor) |
Returns expr × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double or float value set.
|
static ScalarValuedFunction |
Math.scale(ScalarValuedFunction expr) |
Return the scale of the given expression.
|
static ScalarValuedFunction |
Math.scale(String field) |
Returns the scale of the field.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr,
int scale) |
Builds an expression dividing the values of the two specified subexpressions to the specified scale.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(ScalarValuedFunction leftExpr,
String rightField,
int scale) |
Builds an expression dividing a subexpression by the value of the specified field to the specified scale.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(String leftField,
ScalarValuedFunction rightExpr,
int scale) |
Builds an expression dividing the value of the specified field by a subexpression to the specified scale.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(String leftField,
String rightField,
int scale) |
Builds an expression dividing the values of the two specified fields to the specified scale.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(String leftField,
BigDecimal rightValue,
int scale) |
Builds an expression dividing the value of the specified subexpression by a constant to the specified scale.
|
static ScalarValuedFunction |
Arithmetic.scaledDiv(BigDecimal leftValue,
String rightField,
int scale) |
Builds an expression dividing a constant by the value of the specified subexpression to the specified scale.
|
static ScalarValuedFunction |
Math.signum(ScalarValuedFunction expr) |
Returns the signum function of the expression: 0 if the expression is zero, 1 if it is greater than zero, or -1 if it is less than 0.
|
static ScalarValuedFunction |
Math.signum(String field) |
Returns the signum function of the expression: 0 if the expression is zero, 1 if it is greater than zero, or -1 if it is less than 0.
|
static ScalarValuedFunction |
Math.sin(ScalarValuedFunction expr) |
Returns the sine of the given expression using radians.
|
static ScalarValuedFunction |
Math.sin(String field) |
Returns the sine of the given field using radians.
|
static ScalarValuedFunction |
Math.sinh(ScalarValuedFunction expr) |
Returns the hyperbolic sine of the given expression using radians.
|
static ScalarValuedFunction |
Math.sinh(String field) |
Returns the hyperbolic sine of the given field using radians.
|
static ScalarValuedFunction |
Math.sqrt(ScalarValuedFunction expr) |
Returns the square root of the given expression.
|
static ScalarValuedFunction |
Math.sqrt(String field) |
Returns the square root of the given field.
|
static ScalarValuedFunction |
Arithmetic.sub(double leftValue,
ScalarValuedFunction rightExpr) |
Builds an expression subtracting the value of the specified subexpression from a constant.
|
static ScalarValuedFunction |
Arithmetic.sub(double leftValue,
String rightField) |
Builds an expression subtracting the value of the specified field from a constant.
|
static ScalarValuedFunction |
Arithmetic.sub(ScalarValuedFunction leftExpr,
double rightValue) |
Builds an expression subtracting a constant from the value of the specified subexpression.
|
static ScalarValuedFunction |
Arithmetic.sub(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr) |
Builds an expression subtracting the values of the two specified subexpressions.
|
static ScalarValuedFunction |
Arithmetic.sub(ScalarValuedFunction leftExpr,
String rightField) |
Builds an expression subtracting the value of the specified field from a subexpression.
|
static ScalarValuedFunction |
Arithmetic.sub(String leftField,
double rightValue) |
Builds an expression subtracting a constant from the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.sub(String leftField,
ScalarValuedFunction rightExpr) |
Builds an expression subtracting a subexpression from the value of the specified field.
|
static ScalarValuedFunction |
Arithmetic.sub(String leftField,
String rightField) |
Builds an expression subtracting the values of the two specified fields.
|
static ScalarValuedFunction |
ListFunctions.subList(ScalarValuedFunction expr,
int fromIndexValue,
int toIndexValue) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(ScalarValuedFunction expr,
ScalarValuedFunction fromIndexExpr,
ScalarValuedFunction toIndexExpr) |
Builds an expression finding a view of the portion of a ScalarValuedFunction
between the specified fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(ScalarValuedFunction expr,
String fromIndexField,
String toIndexField) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(String field,
int fromIndexValue,
int toIndexValue) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(String field,
ScalarValuedFunction fromIndexExpr,
ScalarValuedFunction toIndexExpr) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(String field,
String fromIndexField,
String toIndexField) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(List<Object> value,
ScalarValuedFunction fromIndexExpr,
ScalarValuedFunction toIndexExpr) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
ListFunctions.subList(List<Object> value,
String fromIndexField,
String toIndexField) |
Builds an expression finding a view of the portion of the field between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
static ScalarValuedFunction |
Strings.substr(ScalarValuedFunction expr,
int start) |
Builds a function returning a substring of the string
value to which the specified expression evaluates, starting at
a specified index.
|
static ScalarValuedFunction |
Strings.substr(ScalarValuedFunction expr,
int start,
int end) |
Builds a function returning a substring of the string
value to which the specified expression evaluates, between
specified indexes.
|
static ScalarValuedFunction |
Strings.substr(ScalarValuedFunction expr,
ScalarValuedFunction start) |
Builds a function returning a substring of the string
value to which the specified expression evaluates, starting at
a specified index.
|
static ScalarValuedFunction |
Strings.substr(ScalarValuedFunction expr,
ScalarValuedFunction start,
ScalarValuedFunction end) |
Builds a function returning a substring of the string
value to which the specified expression evaluates, between
specified indexes.
|
static ScalarValuedFunction |
Strings.substr(String field,
int start) |
Builds a function returning a substring of the string
value in the specified field, starting at a specified index.
|
static ScalarValuedFunction |
Strings.substr(String field,
int start,
int end) |
Builds a function returning a substring of the string
value in the specified field, between specified indexes.
|
static ScalarValuedFunction |
DateTime.subtractTime(ScalarValuedFunction time,
ScalarValuedFunction delta,
DateTime.Granularity granularity) |
Subtracts a time period from the specified date/time value.
|
static ScalarValuedFunction |
DateTime.subtractTime(ScalarValuedFunction time,
ScalarValuedFunction delta,
DateTime.Granularity granularity,
TimeZone tz) |
Subtracts a time period from the specified date/time value.
|
static ScalarValuedFunction |
DateTime.subtractTime(String timeField,
String deltaField,
DateTime.Granularity granularity) |
Subtracts a time period from the specified date/time value.
|
static ScalarValuedFunction |
DateTime.subtractTime(String timeField,
String deltaField,
DateTime.Granularity granularity,
TimeZone tz) |
Subtracts a time period from the specified date/time value.
|
static ScalarValuedFunction |
Math.tan(ScalarValuedFunction expr) |
Returns the tangent of the given expression using radians.
|
static ScalarValuedFunction |
Math.tan(String field) |
Returns the tangent of the given field using radians.
|
static ScalarValuedFunction |
Math.tanh(ScalarValuedFunction expr) |
Returns the hyperbolic tangent of the given expression using radians.
|
static ScalarValuedFunction |
Math.tanh(String field) |
Returns the hyperbolic tangent of the given field using radians.
|
static ScalarValuedFunction |
DateTime.timeDiff(ScalarValuedFunction startValue,
ScalarValuedFunction endValue,
DateTime.Granularity granularity) |
Builds an expression measuring the time interval
between two date/time expressions using a specified time unit.
|
static ScalarValuedFunction |
DateTime.timeDiff(ScalarValuedFunction startValue,
ScalarValuedFunction endValue,
DateTime.Granularity granularity,
int scale) |
Builds an expression measuring the time interval
between two date/time expressions using a specified time unit
and scale.
|
static ScalarValuedFunction |
DateTime.timeDiff(String startField,
String endField) |
Builds an expression measuring the time interval
between two date/time fields.
|
static ScalarValuedFunction |
DateTime.timeDiff(String startField,
String endField,
DateTime.Granularity granularity) |
Builds an expression measuring the time interval
between two date/time fields using a specified time unit.
|
static ScalarValuedFunction |
DateTime.timeDiff(String startField,
String endField,
DateTime.Granularity granularity,
int scale) |
Builds an expression measuring the time interval
between two date/time fields using a specified time unit
and scale.
|
static ScalarValuedFunction |
Conversions.toBinary(ScalarValuedFunction expr) |
Convert a string typed expression into a binary type.
|
static ScalarValuedFunction |
Conversions.toBinary(String fieldName) |
Convert a string typed field into a binary type.
|
static ScalarValuedFunction |
Conversions.toBoolean(ScalarValuedFunction expr,
TruthValues mapping) |
Convert a string typed expression into a boolean type.
|
static ScalarValuedFunction |
Conversions.toBoolean(ScalarValuedFunction expr,
String truth,
String falsity) |
Convert a string typed expression into a boolean type.
|
static ScalarValuedFunction |
Conversions.toBoolean(String field,
TruthValues mapping) |
Convert a string typed field into a boolean type.
|
static ScalarValuedFunction |
Conversions.toBoolean(String field,
String truth,
String falsity) |
Convert a string typed field into a boolean type.
|
static ScalarValuedFunction |
Conversions.toChar(ScalarValuedFunction expr) |
Convert a string typed expression into a char type.
|
static ScalarValuedFunction |
Conversions.toChar(String fieldName) |
Convert a string typed field into a char type.
|
static ScalarValuedFunction |
Conversions.toDate(ScalarValuedFunction expr) |
Convert a string typed expression into a date type.
|
static ScalarValuedFunction |
Conversions.toDate(ScalarValuedFunction expr,
DateTimeFormatting format) |
Convert a string typed expression into a date type using the given format.
|
static ScalarValuedFunction |
Conversions.toDate(String field) |
Convert a string typed field into a date type.
|
static ScalarValuedFunction |
Conversions.toDate(String field,
DateTimeFormatting format) |
Convert a string typed field into a date type using the given format.
|
static ScalarValuedFunction |
Conversions.toDate(String field,
String format) |
Convert a string typed field into a date type using the given format.
|
static ScalarValuedFunction |
Math.toDegrees(ScalarValuedFunction expr) |
Returns the radian expression in degrees.
|
static ScalarValuedFunction |
Math.toDegrees(String field) |
Returns the radian expression in degrees.
|
static ScalarValuedFunction |
Conversions.toDouble(ScalarValuedFunction expr) |
Convert a string typed expression into a double type.
|
static ScalarValuedFunction |
Conversions.toDouble(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a double type using the given format.
|
static ScalarValuedFunction |
Conversions.toDouble(String field) |
Convert a string typed field into a double type.
|
static ScalarValuedFunction |
Conversions.toDouble(String field,
String format) |
Convert a string typed field into a double type using the given format.
|
static ScalarValuedFunction |
Conversions.toDouble(String field,
NumberFormat format) |
Convert a string typed field into a double type using the given format.
|
static ScalarValuedFunction |
Conversions.toFloat(ScalarValuedFunction expr) |
Convert a string typed expression into a float type.
|
static ScalarValuedFunction |
Conversions.toFloat(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a float type using the given format.
|
static ScalarValuedFunction |
Conversions.toFloat(String field) |
Convert a string typed field into a float type.
|
static ScalarValuedFunction |
Conversions.toFloat(String field,
String format) |
Convert a string typed field into a float type using the given format.
|
static ScalarValuedFunction |
Conversions.toFloat(String field,
NumberFormat format) |
Convert a string typed field into a float type using the given format.
|
static ScalarValuedFunction |
Conversions.toInt(ScalarValuedFunction expr) |
Convert a string typed expression into a integer type.
|
static ScalarValuedFunction |
Conversions.toInt(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a integer type using the given format.
|
static ScalarValuedFunction |
Conversions.toInt(String field) |
Convert a string typed field into a integer type.
|
static ScalarValuedFunction |
Conversions.toInt(String field,
String format) |
Convert a string typed field into a integer type using the given format.
|
static ScalarValuedFunction |
Conversions.toInt(String field,
NumberFormat format) |
Convert a string typed field into a integer type using the given format.
|
static ScalarValuedFunction |
Conversions.toLong(ScalarValuedFunction expr) |
Convert a string typed expression into a long type.
|
static ScalarValuedFunction |
Conversions.toLong(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a long type using the given format.
|
static ScalarValuedFunction |
Conversions.toLong(String field) |
Convert a string typed field into a long type.
|
static ScalarValuedFunction |
Conversions.toLong(String field,
String format) |
Convert a string typed field into a long type using the given format.
|
static ScalarValuedFunction |
Conversions.toLong(String field,
NumberFormat format) |
Convert a string typed field into a long type using the given format.
|
static ScalarValuedFunction |
Strings.toLowerCase(ScalarValuedFunction expr) |
Builds a function returning the lower case string value
of the string to which the given expression evaluates.
|
static ScalarValuedFunction |
Strings.toLowerCase(String field) |
Builds a function returning the lower case string value
in the specified field.
|
static ScalarValuedFunction |
DateTime.toMilliseconds(ScalarValuedFunction expr) |
Converts the value of a date/time expression into the number of milliseconds since the epoch (January 1, 1970, 00:00:00 GMT).
|
static ScalarValuedFunction |
DateTime.toMilliseconds(String fieldName) |
Converts the value of a date/time field into the number of milliseconds since the epoch (January 1, 1970, 00:00:00 GMT).
|
static ScalarValuedFunction |
Conversions.toMoney(ScalarValuedFunction expr) |
Convert a string typed expression into a money type.
|
static ScalarValuedFunction |
Conversions.toMoney(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a money type using the given format.
|
static ScalarValuedFunction |
Conversions.toMoney(String field) |
Convert a string typed field into a money type.
|
static ScalarValuedFunction |
Conversions.toMoney(String field,
String format) |
Convert a string typed field into a money type using the given format.
|
static ScalarValuedFunction |
Conversions.toMoney(String field,
NumberFormat format) |
Convert a string typed field into a money type using the given format.
|
static ScalarValuedFunction |
Conversions.toNumeric(ScalarValuedFunction expr) |
Convert a string typed expression into a numeric type.
|
static ScalarValuedFunction |
Conversions.toNumeric(ScalarValuedFunction expr,
NumberFormat format) |
Convert a string typed expression into a numeric type using the given format.
|
static ScalarValuedFunction |
Conversions.toNumeric(String field) |
Convert a string typed field into a numeric type.
|
static ScalarValuedFunction |
Conversions.toNumeric(String field,
String format) |
Convert a string typed field into a numeric type using the given format.
|
static ScalarValuedFunction |
Conversions.toNumeric(String field,
NumberFormat format) |
Convert a string typed field into a numeric type using the given format.
|
static ScalarValuedFunction |
Math.toRadians(ScalarValuedFunction expr) |
Returns the degree expression in radians.
|
static ScalarValuedFunction |
Math.toRadians(String field) |
Returns the degree expression in radians.
|
static ScalarValuedFunction |
Conversions.toString(ScalarValuedFunction expr) |
Convert the value of an expression into a string value.
|
static ScalarValuedFunction |
Conversions.toString(String field) |
Convert a scalar type field into a string value.
|
static ScalarValuedFunction |
Conversions.toText(ScalarValuedFunction expr,
String format) |
Convert the value of an expression into text using the given format.
|
static ScalarValuedFunction |
Conversions.toText(ScalarValuedFunction expr,
Format formatter) |
Convert the value of an expression into text using the given format.
|
static ScalarValuedFunction |
Conversions.toText(String field,
String format) |
Convert a scalar type field into text using the given format.
|
static ScalarValuedFunction |
Conversions.toText(String field,
Format formatter) |
Convert a scalar type field into text using the given format.
|
static ScalarValuedFunction |
Conversions.toTime(ScalarValuedFunction expr) |
Convert a string typed expression into a time type.
|
static ScalarValuedFunction |
Conversions.toTime(ScalarValuedFunction expr,
DateTimeFormatting format) |
Convert a string typed expression into a time type using the given format.
|
static ScalarValuedFunction |
Conversions.toTime(String field) |
Convert a string typed field into a time type.
|
static ScalarValuedFunction |
Conversions.toTime(String field,
DateTimeFormatting format) |
Convert a string typed field into a time type using the given format.
|
static ScalarValuedFunction |
Conversions.toTime(String field,
String format) |
Convert a string typed field into a time type using the given format.
|
static ScalarValuedFunction |
Conversions.toTimestamp(ScalarValuedFunction expr) |
Convert a string typed expression into a timestamp type.
|
static ScalarValuedFunction |
Conversions.toTimestamp(ScalarValuedFunction expr,
DateTimeFormatting format) |
Convert a string typed expression into a timestamp type using the given format.
|
static ScalarValuedFunction |
Conversions.toTimestamp(String field) |
Convert a string typed field into a timestamp type.
|
static ScalarValuedFunction |
Conversions.toTimestamp(String field,
DateTimeFormatting format) |
Convert a string typed field into a timestamp type using the given format.
|
static ScalarValuedFunction |
Conversions.toTimestamp(String field,
String format) |
Convert a string typed field into a timestamp type using the given format.
|
static ScalarValuedFunction |
Strings.toUpperCase(ScalarValuedFunction expr) |
Builds a function returning the upper case string value
of the string to which the given expression evaluates.
|
static ScalarValuedFunction |
Strings.toUpperCase(String field) |
Builds a function returning the upper case string value
in the specified field.
|
static ScalarValuedFunction |
Strings.trim(ScalarValuedFunction expr) |
Builds a function returning the whitespace trimmed string value
of the string to which the given expression evaluates.
|
static ScalarValuedFunction |
Strings.trim(String field) |
Builds a function returning the whitespace trimmed string value
in the specified field.
|
static ScalarValuedFunction |
Math.ulp(ScalarValuedFunction expr) |
Returns the size of an ulp of the expression.
|
static ScalarValuedFunction |
Math.ulp(String field) |
Returns the size of an ulp of the expression.
|
static ScalarValuedFunction |
DateTime.useDefaultTimeZone(ScalarValuedFunction time) |
Adjusts a time stamp value to use the time zone of the local machine.
|
static ScalarValuedFunction |
DateTime.useDefaultTimeZone(String timeField) |
Adjusts a time stamp value to use the time zone of the local machine.
|
static ScalarValuedFunction |
DateTime.useTimeZone(ScalarValuedFunction time,
TimeZone tz) |
Adjusts a time stamp value to use the specified time zone.
|
static ScalarValuedFunction |
DateTime.useTimeZone(String timeField,
TimeZone tz) |
Adjusts a time stamp value to use the specified time zone.
|
static ScalarValuedFunction |
FieldReference.value(String fieldName) |
Defines an expression returning the value of the given field.
|
static ScalarValuedFunction |
Statistics.wavg(String[] fields,
double[] weights) |
Builds an expression computing the weighted average of the values of the specified fields.
|
static ScalarValuedFunction |
Statistics.wavg(List<ScalarValuedFunction> exprs,
double[] weights) |
Builds an expression computing the weighted average of the values of the specified expressions.
|