Package | Description |
---|---|
com.pervasive.datarush.aggregations | |
com.pervasive.datarush.analytics.functions |
Provides various statistics functions.
|
com.pervasive.datarush.analytics.stats |
Provides various statistics, Data Summarizer, and Data Quality Analyzer.
|
com.pervasive.datarush.functions |
Provides classes and interfaces related to defining functions on records.
|
com.pervasive.datarush.matching.functions |
Provides functions related to approximate matching.
|
com.pervasive.datarush.operators.assertion |
Provides operators for making assertions on flows and files.
|
com.pervasive.datarush.operators.group |
Provides data aggregation components.
|
com.pervasive.datarush.operators.join |
Provides operators for joining together two data sets into a single one.
|
com.pervasive.datarush.operators.record |
Provides operators for manipulating record structure.
|
com.pervasive.datarush.operators.select |
Provides operators for selecting a subset of the data set.
|
com.pervasive.datarush.operators.source |
Provides operators for generating data tokens in various ways.
|
com.pervasive.datarush.ports.physical |
Provides classes and interfaces for accessing and producing the data flowing
between operators in a dataflow graph.
|
Modifier and Type | Method and Description |
---|---|
Aggregation |
AggregationRegistry.getAggregation(String name,
ScalarValuedFunction[] arguments)
Invoke an Aggregation by name, using the supplied arguments.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
StatsFunctions.minmax(ScalarValuedFunction expr,
BigDecimal min,
BigDecimal max)
Create a MinMax normalization function for the given subexpression.
|
static ScalarValuedFunction |
StatsFunctions.minmax(ScalarValuedFunction expr,
double min,
double max)
Create a MinMax normalization function for the given subexpression.
|
static ScalarValuedFunction |
StatsFunctions.minmax(String field,
BigDecimal min,
BigDecimal max)
Create a MinMax normalization function for the input field.
|
static ScalarValuedFunction |
StatsFunctions.minmax(String field,
double min,
double max)
Create a MinMax normalization function for the input field.
|
static ScalarValuedFunction |
StatsFunctions.normalizeFunction(StatsFunctions.NormalizeMethod method,
ScalarValuedFunction expr,
AbstractNumericInfo<?> numInfo)
Create a normalization function for the given function expression.
|
static ScalarValuedFunction |
StatsFunctions.normalizeFunction(StatsFunctions.NormalizeMethod method,
String field,
AbstractNumericInfo<?> numInfo)
Create a normalization function for the given input field.
|
static ScalarValuedFunction |
StatsFunctions.zscore(ScalarValuedFunction expr,
BigDecimal mean,
BigDecimal stddev)
Create a Z-Score normalization function for the given input function.
|
static ScalarValuedFunction |
StatsFunctions.zscore(ScalarValuedFunction expr,
double mean,
double stddev)
Create a Z-Score normalization function for the given input function.
|
static ScalarValuedFunction |
StatsFunctions.zscore(String field,
BigDecimal mean,
BigDecimal stddev)
Create a Z-Score normalization function for the input field.
|
static ScalarValuedFunction |
StatsFunctions.zscore(String field,
double mean,
double stddev)
Create a Z-Score normalization function for the input field.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
StatsFunctions.minmax(ScalarValuedFunction expr,
BigDecimal min,
BigDecimal max)
Create a MinMax normalization function for the given subexpression.
|
static ScalarValuedFunction |
StatsFunctions.minmax(ScalarValuedFunction expr,
double min,
double max)
Create a MinMax normalization function for the given subexpression.
|
static ScalarValuedFunction |
StatsFunctions.normalizeFunction(StatsFunctions.NormalizeMethod method,
ScalarValuedFunction expr,
AbstractNumericInfo<?> numInfo)
Create a normalization function for the given function expression.
|
static ScalarValuedFunction |
StatsFunctions.zscore(ScalarValuedFunction expr,
BigDecimal mean,
BigDecimal stddev)
Create a Z-Score normalization function for the given input function.
|
static ScalarValuedFunction |
StatsFunctions.zscore(ScalarValuedFunction expr,
double mean,
double stddev)
Create a Z-Score normalization function for the given input function.
|
Modifier and Type | Method and Description |
---|---|
ScalarValuedFunction |
DataQualityAnalyzer.QualityTest.getPredicate()
Returns a boolean predicate.
|
Constructor and Description |
---|
QualityTest(String testName,
ScalarValuedFunction predicate)
Create a quality test
|
Modifier and Type | Class and Description |
---|---|
class |
ConstantReference
A reference to a known value.
|
class |
FieldReference
A reference to a field in a record schema.
|
Modifier and Type | Method and Description |
---|---|
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(List<ScalarValuedFunction> ps)
Builds a record predicate which is a logical and of the
specified predicates.
|
static ScalarValuedFunction |
Predicates.and(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(List<ScalarValuedFunction> exprs)
Builds an expression computing the average of the specified expressions.
|
static ScalarValuedFunction |
Statistics.avg(String... fields)
Builds an expression computing the average of the values of the specified fields.
|
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 |
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 |
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(List<ScalarValuedFunction> exprs)
Builds a function returning a concatenation of the string
representations of the evaluated expressions.
|
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,
List<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 |
ConstantReference.constant(BigDecimal value)
Creates a function evaluating to the specified numeric
constant.
|
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 <O> ScalarValuedFunction |
ConstantReference.constant(O value)
Creates a function evaluating to the specified object
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 |
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 |
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 |
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,
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,
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,
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 |
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 |
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,
List<ScalarValuedFunction> exprs)
Format the output values of the given functions using the given format.
|
static ScalarValuedFunction |
Formatting.format(String format,
ScalarValuedFunction... exprs)
Format 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(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.listConcat(ScalarValuedFunction leftExpr,
List<Object> rightValue)
Builds an expression concatenating a constant to the value of the specified subexpression.
|
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(String leftField,
List<Object> rightValue)
Builds an expression concatenating a constant to the value of the specified field.
|
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.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.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(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(String field,
List<Object> value)
Builds an expression to check if a field contains a value specified by an expression.
|
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.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.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(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(String field,
List<Object> value)
Builds an expression to check if a field contains a value specified by an expression.
|
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.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(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.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.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(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.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.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 |
ScalarValuedFunction.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping)
Creates a new function, equivalent to the given function, but with specified field references
mapped to functions.
|
ScalarValuedFunction |
FieldReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
ScalarValuedFunction |
ConstantReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
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.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.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(List<ScalarValuedFunction> exprs)
Returns the maximum of the argument values.
|
static ScalarValuedFunction |
Math.max(String... fields)
Returns the maximum of the argument values.
|
static ScalarValuedFunction |
Math.maxNotNull(List<ScalarValuedFunction> exprs)
Returns the maximum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Math.maxNotNull(String... fields)
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(List<ScalarValuedFunction> exprs)
Returns the minimum of the argument values.
|
static ScalarValuedFunction |
Math.min(String... fields)
Returns the minimum of the argument values.
|
static ScalarValuedFunction |
Math.minNotNull(List<ScalarValuedFunction> exprs)
Returns the minimum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Math.minNotNull(String... fields)
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 |
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.
Untyped null tokens are now supported. Use
ConstantReference.nullValue() to generate
a null token without an input type. |
static ScalarValuedFunction |
ConstantReference.nullValue(String fieldName)
Deprecated.
Untyped null tokens are now supported. Use
ConstantReference.nullValue() to generate
a null token without an input type. |
static ScalarValuedFunction |
Predicates.or(List<ScalarValuedFunction> ps)
Builds a record predicate which is a logical or of the
specified predicates.
|
static ScalarValuedFunction |
Predicates.or(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 |
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 |
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.
|
ScalarValuedFunction |
FieldReference.remapFieldReferences(Map<String,String> oldToNewMapping) |
ScalarValuedFunction |
ConstantReference.remapFieldReferences(Map<String,String> oldToNewMapping) |
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(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 |
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,
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(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 |
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(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 |
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 |
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,
String truth,
String falsity)
Convert a string typed expression into a boolean type.
|
static ScalarValuedFunction |
Conversions.toBoolean(ScalarValuedFunction expr,
TruthValues mapping)
Convert a string typed expression 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.toBoolean(String field,
TruthValues mapping)
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,
NumberFormat format)
Convert a string typed field into a double type using the given format.
|
static ScalarValuedFunction |
Conversions.toDouble(String field,
String 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,
NumberFormat format)
Convert a string typed field into a float type using the given format.
|
static ScalarValuedFunction |
Conversions.toFloat(String field,
String 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,
NumberFormat format)
Convert a string typed field into a integer type using the given format.
|
static ScalarValuedFunction |
Conversions.toInt(String field,
String 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,
NumberFormat format)
Convert a string typed field into a long type using the given format.
|
static ScalarValuedFunction |
Conversions.toLong(String field,
String 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,
NumberFormat format)
Convert a string typed field into a money type using the given format.
|
static ScalarValuedFunction |
Conversions.toMoney(String field,
String 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,
NumberFormat format)
Convert a string typed field into a numeric type using the given format.
|
static ScalarValuedFunction |
Conversions.toNumeric(String field,
String 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,
Format formatter)
Convert the value of an expression into text using the given format.
|
static ScalarValuedFunction |
Conversions.toText(ScalarValuedFunction expr,
String format)
Convert the value of an expression 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.toText(String field,
String format)
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(List<ScalarValuedFunction> exprs,
double[] weights)
Builds an expression computing the weighted average of the values of the specified expressions.
|
static ScalarValuedFunction |
Statistics.wavg(String[] fields,
double[] weights)
Builds an expression computing the weighted average of the values of the specified fields.
|
Modifier and Type | Method and Description |
---|---|
static List<ScalarValuedFunction> |
Predicates.getPredicateClauses(ScalarValuedFunction p)
Extracts the predicate clauses from an AND or OR predicate.
|
static List<ScalarValuedFunction> |
FieldReference.values(String... fieldNames)
Defines a number of expressions returning the value of a field,
one for each given field.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
Math.abs(ScalarValuedFunction expr)
Returns the absolute value of the given expression.
|
static ScalarValuedFunction |
Math.acos(ScalarValuedFunction expr)
Returns the arc cosine of the given expression 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(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,
ScalarValuedFunction rightExpr)
Builds an expression adding a the value of the specified field and
subexpression.
|
void |
InvalidOperandTypeException.addOperand(ScalarValuedFunction operand,
ScalarTokenType operandType)
Adds an additional subexpression and its type to the error.
|
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 |
Predicates.and(ScalarValuedFunction... ps)
Builds a record predicate which is a logical and of the
specified predicates.
|
static ScalarFunctionDescriptor.SubexpressionBound |
ScalarFunctionDescriptor.arg(ScalarValuedFunction subexpr,
ScalarTokenType type)
Declares the given subexpression has the specified type bound.
|
static ScalarValuedFunction |
Conversions.asBoolean(ScalarValuedFunction expr,
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.asDouble(ScalarValuedFunction expr)
Convert a numeric typed expression into a double type.
|
static ScalarValuedFunction |
Conversions.asFloat(ScalarValuedFunction expr)
Convert a numeric typed expression into a float type.
|
static ScalarValuedFunction |
Math.asin(ScalarValuedFunction expr)
Returns the arc sine of the given expression using radians.
|
static ScalarValuedFunction |
Conversions.asInt(ScalarValuedFunction expr)
Convert a numeric typed expression into an integer type.
|
static ScalarValuedFunction |
Conversions.asLong(ScalarValuedFunction expr)
Convert a numeric typed expression into a long type.
|
static ScalarValuedFunction |
Conversions.asMoney(ScalarValuedFunction expr)
Convert a numeric typed expression into a money type.
|
static ScalarValuedFunction |
Conversions.asNumeric(ScalarValuedFunction expr)
Convert a numeric typed expression into a numeric type.
|
static ScalarValuedFunction |
Conversions.asTime(ScalarValuedFunction expr)
Convert a timestamp expression result into a time field.
|
static ScalarValuedFunction |
Math.atan(ScalarValuedFunction expr)
Returns the arc tangent of the given expression 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 |
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 |
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 |
Math.cbrt(ScalarValuedFunction expr)
Returns the cube root of the given expression.
|
static ScalarValuedFunction |
Math.ceil(ScalarValuedFunction expr)
Returns the ceiling of the given expression.
|
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 |
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(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.
|
Object |
DefaultArgumentConverter.convert(ScalarValuedFunction value,
Class<?> expectedType) |
Object |
ConstantArgumentConverter.convert(ScalarValuedFunction value,
Class<?> expectedType) |
Object |
ArgumentConverter.convert(ScalarValuedFunction value,
Class<?> expectedType) |
static ScalarValuedFunction |
Math.copySign(ScalarValuedFunction magnitude,
ScalarValuedFunction 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.cosh(ScalarValuedFunction expr)
Returns the hyperbolic cosine of the given expression using radians.
|
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(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,
ScalarValuedFunction rightExpr)
Builds an expression dividing the value of the specified field by a subexpression.
|
static ScalarValuedFunction |
Predicates.eq(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr)
Builds a record predicate which tests the equality of
the specified expressions.
|
static ScalarValuedFunction |
Math.exp(ScalarValuedFunction expr)
Returns e raised to the power of the given expression.
|
static ScalarValuedFunction |
Math.expm1(ScalarValuedFunction expr)
Returns e raised to the power of the given expression minus 1.
|
static ScalarValuedFunction |
Actions.fail(ScalarValuedFunction expr,
String message)
Will throw an exception if the expression evaluates to true.
|
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 |
Math.floor(ScalarValuedFunction expr)
Returns the floor of the given expression.
|
static ScalarValuedFunction |
Formatting.format(String format,
ScalarValuedFunction... exprs)
Format output values of the given functions using the given format.
|
static ScalarValuedFunction |
Math.getExponent(ScalarValuedFunction expr)
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 List<ScalarValuedFunction> |
Predicates.getPredicateClauses(ScalarValuedFunction p)
Extracts the predicate clauses from an AND or OR predicate.
|
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.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 |
Predicates.gt(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr)
Builds a record predicate which tests whether a specified
expression is strictly greater than another.
|
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 |
Math.hypot(ScalarValuedFunction x,
ScalarValuedFunction 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 |
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.
|
Object |
WavgFunctionInvoker.invoke(Method m,
ScalarValuedFunction[] args) |
Object |
ListFunctionInvoker.invoke(Method m,
ScalarValuedFunction[] args) |
Object |
FunctionInvoker.invoke(Method m,
ScalarValuedFunction[] args)
Invokes a method to return a ScalarValuedFunction, using the given arguments.
|
Object |
FormatFunctionInvoker.invoke(Method m,
ScalarValuedFunction[] args) |
Object |
DefaultFunctionInvoker.invoke(Method m,
ScalarValuedFunction[] args) |
static boolean |
Predicates.isConjunction(ScalarValuedFunction f)
Tests whether the specified function is an AND predicate.
|
static boolean |
Predicates.isDisjunction(ScalarValuedFunction f)
Tests whether the specified function is an OR predicate.
|
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.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.length(ScalarValuedFunction expr)
Builds a function returning the length of the string value
to which the given expression evaluates.
|
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 |
ListFunctions.listConcat(List<Object> leftValue,
ScalarValuedFunction rightExpr)
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(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(String leftField,
ScalarValuedFunction rightExpr)
Builds an expression concatenating the value of a specified field and subexpression.
|
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(ScalarValuedFunction expr,
List<Object> value)
Builds an expression to check if an expression contains a value specified by a 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(String leftField,
ScalarValuedFunction rightExpr)
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(ScalarValuedFunction expr,
List<Object> value)
Builds an expression to check if an expression contains a value specified by a 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(String leftField,
ScalarValuedFunction rightExpr)
Builds an expression to check if a field contains a value specified by an expression.
|
static ScalarValuedFunction |
ListFunctions.listDistinct(ScalarValuedFunction expr)
Builds an expression to get distinct set of elements from a ScalarValuedFunction.
|
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(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,
ScalarValuedFunction rightExpr)
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.listSize(ScalarValuedFunction expr)
Builds an expression to get the number of elements in specified ScalarValuedFunction expression.
|
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(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.listToString(ScalarValuedFunction expr)
Builds an expression to get the string representation of a ScalarValuedFunction.
|
static ScalarValuedFunction |
Math.log(ScalarValuedFunction expr)
Returns the natural logarithm of the given expression.
|
static ScalarValuedFunction |
Math.log10(ScalarValuedFunction expr)
Returns the base 10 logarithm of the given expression.
|
static ScalarValuedFunction |
Math.log1p(ScalarValuedFunction expr)
Returns the natural logarithm of 1 plus the given expression.
|
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.lte(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr)
Builds a record predicate which tests whether a specified
expression is less than or equal to another.
|
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(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.mapSize(ScalarValuedFunction expr)
Builds an expression to get the number of kay-value mappings in ScalarValuedFunction expression.
|
static ScalarValuedFunction |
MapFunctions.mapToString(ScalarValuedFunction expr)
Builds an expression to get the string representation of a ScalarValuedFunction.
|
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 |
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 |
Arithmetic.mult(double leftValue,
ScalarValuedFunction rightExpr)
Builds an expression multiplying the value of the specified subexpression 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,
ScalarValuedFunction rightExpr)
Builds an expression multiplying the values of the specified field and subexpression.
|
static ScalarValuedFunction |
Arithmetic.neg(ScalarValuedFunction expr)
Builds an expression negating the value of the specified subexpression.
|
static ScalarValuedFunction |
Predicates.neq(ScalarValuedFunction leftExpr,
ScalarValuedFunction rightExpr)
Builds a record predicate which tests the inequality of
the specified expressions.
|
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.nextUp(ScalarValuedFunction start)
Returns the floating point number adjacent to the argument in the direction of positive infinity.
|
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.notTrue(ScalarValuedFunction p)
Builds a record predicate which tests whether the
specified predicate is not true.
|
static ScalarValuedFunction |
ConstantReference.nullValue(ScalarValuedFunction expr)
Deprecated.
Untyped null tokens are now supported. Use
ConstantReference.nullValue() to generate
a null token without an input type. |
static ScalarValuedFunction |
Predicates.or(ScalarValuedFunction... ps)
Builds a record predicate which is a logical or of the
specified predicates.
|
static ScalarValuedFunction |
Math.pow(ScalarValuedFunction base,
ScalarValuedFunction exponent)
Returns
base raised to the exponent power. |
static ScalarValuedFunction |
Math.precision(ScalarValuedFunction expr)
Return the precision of the given expression.
|
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(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,
ScalarValuedFunction rightExpr)
Builds an expression dividing the value of the specified field by a subexpression and returning the remainder.
|
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.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 |
Math.rint(ScalarValuedFunction expr)
Returns the double value closest to the given expression and equal to a mathematical integer.
|
static ScalarValuedFunction |
Math.round(ScalarValuedFunction expr)
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.scale(ScalarValuedFunction expr)
Return the scale of the given expression.
|
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 |
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.sin(ScalarValuedFunction expr)
Returns the sine of the given expression using radians.
|
static ScalarValuedFunction |
Math.sinh(ScalarValuedFunction expr)
Returns the hyperbolic sine of the given expression using radians.
|
static ScalarValuedFunction |
Math.sqrt(ScalarValuedFunction expr)
Returns the square root of the given expression.
|
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(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,
ScalarValuedFunction rightExpr)
Builds an expression subtracting a subexpression from the value of the specified field.
|
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(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,
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 |
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 |
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 |
Math.tan(ScalarValuedFunction expr)
Returns the tangent of the given expression using radians.
|
static ScalarValuedFunction |
Math.tanh(ScalarValuedFunction expr)
Returns the hyperbolic tangent of the given expression 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 |
Conversions.toBinary(ScalarValuedFunction expr)
Convert a string typed expression into a binary type.
|
static ScalarValuedFunction |
Conversions.toBoolean(ScalarValuedFunction expr,
String truth,
String falsity)
Convert a string typed expression into a boolean type.
|
static ScalarValuedFunction |
Conversions.toBoolean(ScalarValuedFunction expr,
TruthValues mapping)
Convert a string typed expression into a boolean type.
|
static ScalarValuedFunction |
Conversions.toChar(ScalarValuedFunction expr)
Convert a string typed expression 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 |
Math.toDegrees(ScalarValuedFunction expr)
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.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.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.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 |
Strings.toLowerCase(ScalarValuedFunction expr)
Builds a function returning the lower case string value
of the string to which the given expression evaluates.
|
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 |
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.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 |
Math.toRadians(ScalarValuedFunction expr)
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.toText(ScalarValuedFunction expr,
Format formatter)
Convert the value of an expression into text using the given format.
|
static ScalarValuedFunction |
Conversions.toText(ScalarValuedFunction expr,
String format)
Convert the value of an expression 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.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 |
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.trim(ScalarValuedFunction expr)
Builds a function returning the whitespace trimmed string value
of the string to which the given expression evaluates.
|
static ScalarValuedFunction |
Math.ulp(ScalarValuedFunction expr)
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.useTimeZone(ScalarValuedFunction time,
TimeZone tz)
Adjusts a time stamp value to use the specified time zone.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
Predicates.and(List<ScalarValuedFunction> ps)
Builds a record predicate which is a logical and of the
specified predicates.
|
static ScalarValuedFunction |
Statistics.avg(List<ScalarValuedFunction> exprs)
Builds an expression computing the average of the specified expressions.
|
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)
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 |
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 |
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)
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(ScalarValuedFunction base,
List<ScalarValuedFunction> cases,
List<ScalarValuedFunction> results,
ScalarValuedFunction defaultResult)
Builds a conditional expression which evaluates similarly to a switch statement.
|
static ScalarValuedFunction |
Strings.concat(List<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 |
Formatting.format(String format,
List<ScalarValuedFunction> exprs)
Format the output values of the given functions using the given format.
|
ScalarValuedFunction |
ScalarValuedFunction.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping)
Creates a new function, equivalent to the given function, but with specified field references
mapped to functions.
|
ScalarValuedFunction |
FieldReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
ScalarValuedFunction |
ConstantReference.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping) |
static ScalarValuedFunction |
Math.max(List<ScalarValuedFunction> exprs)
Returns the maximum of the argument values.
|
static ScalarValuedFunction |
Math.maxNotNull(List<ScalarValuedFunction> exprs)
Returns the maximum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Math.min(List<ScalarValuedFunction> exprs)
Returns the minimum of the argument values.
|
static ScalarValuedFunction |
Math.minNotNull(List<ScalarValuedFunction> exprs)
Returns the minimum of the argument values, ignoring null values.
|
static ScalarValuedFunction |
Predicates.or(List<ScalarValuedFunction> ps)
Builds a record predicate which is a logical or of the
specified predicates.
|
static ScalarFunctionDescriptor.SubexpressionBound |
ScalarFunctionDescriptor.varargs(List<? extends ScalarValuedFunction> subexprs,
ScalarTokenType type)
Declares a variable number of arguments, all having the specified type bound.
|
static ScalarValuedFunction |
Statistics.wavg(List<ScalarValuedFunction> exprs,
double[] weights)
Builds an expression computing the weighted average of the values of the specified expressions.
|
Constructor and Description |
---|
InvalidOperandTypeException(String reason,
ScalarTokenType required,
ScalarValuedFunction operand,
ScalarTokenType operandType)
Declares an exception occurred for the specified reason, caused
by the given subexpression yielding a result of the given type.
|
InvalidOperandTypeException(String reason,
ScalarValuedFunction operand,
ScalarTokenType operandType)
Declares an exception occurred for the specified reason, caused
by the given subexpression yielding a result of the given type.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
StringEncodings.caverphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Caverphone algorithm.
|
static ScalarValuedFunction |
StringEncodings.caverphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Caverphone algorithm.
|
static ScalarValuedFunction |
Similarity.contains(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing whether either of the specified
string valued expressions contains the other.
|
static ScalarValuedFunction |
Similarity.contains(String left,
String right)
Builds a function testing whether either of the specified
fields has a string value containing the other.
|
static ScalarValuedFunction |
Similarity.damerauLevenshtein(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Damerau-Levenshtein distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.damerauLevenshtein(String left,
String right)
Builds a function computing the Damerau-Levenshtein distance
between the string values of the specified fields.
|
static ScalarValuedFunction |
StringEncodings.doubleMetaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Double Metaphone algorithm.
|
static ScalarValuedFunction |
StringEncodings.doubleMetaphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Double Metaphone algorithm.
|
static ScalarValuedFunction |
Similarity.exact(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing whether the specified
string valued expressions are equal.
|
static ScalarValuedFunction |
Similarity.exact(String left,
String right)
Builds a function testing exact equality
between the string values of the specified fields.
|
static ScalarValuedFunction |
Similarity.jaro(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Jaro distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.jaro(String left,
String right)
Builds a function computing the Jaro distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.jaroWinkler(ScalarValuedFunction left,
ScalarValuedFunction right,
int prefixLen,
float scaling)
Builds a function computing the Jaro-Winkler distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.jaroWinkler(String left,
String right,
int prefixLen,
float scaling)
Builds a function computing the Jaro-Winkler distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.levenshtein(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Levenshtein distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.levenshtein(String left,
String right)
Builds a function computing the Levenshtein distance
between the string values of the specified fields.
|
static ScalarValuedFunction |
StringEncodings.metaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Metaphone algorithm.
|
static ScalarValuedFunction |
StringEncodings.metaphone(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Metaphone algorithm.
|
static ScalarValuedFunction |
Similarity.positionalQgram(ScalarValuedFunction left,
ScalarValuedFunction right,
int q,
int maxDist)
Builds a function computing the percentage of q-grams in common
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.positionalQgram(String left,
String right,
int q,
int maxDist)
Builds a function computing the percentage of q-grams in common
between the string values of the specified fields.
|
static ScalarValuedFunction |
Similarity.proximity(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing an adjusted quotient
of the numeric values of the specified fields.
|
static ScalarValuedFunction |
Similarity.proximity(String left,
String right)
Builds a function computing an adjusted quotient
of the numeric values of the specified fields.
|
static ScalarValuedFunction |
Similarity.qgram(ScalarValuedFunction left,
ScalarValuedFunction right,
int q)
Builds a function computing the percentage of q-grams in common
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.qgram(String left,
String right,
int q)
Builds a function computing the percentage of q-grams in common
between the string values of the specified fields.
|
static ScalarValuedFunction |
StringEncodings.refinedSoundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
refined Soundex algorithm.
|
static ScalarValuedFunction |
StringEncodings.refinedSoundex(String field)
Builds a function phonetically encoding the string
value in the specified field using the
refined Soundex algorithm.
|
static ScalarValuedFunction |
Similarity.shorthand(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing shorthand equivalence
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.shorthand(String left,
String right)
Builds a function testing shorthand equivalence
between the string values of the specified fields.
|
static ScalarValuedFunction |
StringEncodings.soundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Soundex algorithm.
|
static ScalarValuedFunction |
StringEncodings.soundex(String field)
Builds a function phonetically encoding the string
value in the specified field using the
Soundex algorithm.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
StringEncodings.caverphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Caverphone algorithm.
|
static ScalarValuedFunction |
Similarity.contains(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing whether either of the specified
string valued expressions contains the other.
|
static ScalarValuedFunction |
Similarity.damerauLevenshtein(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Damerau-Levenshtein distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
StringEncodings.doubleMetaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Double Metaphone algorithm.
|
static ScalarValuedFunction |
Similarity.exact(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing whether the specified
string valued expressions are equal.
|
static ScalarValuedFunction |
Similarity.jaro(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Jaro distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.jaroWinkler(ScalarValuedFunction left,
ScalarValuedFunction right,
int prefixLen,
float scaling)
Builds a function computing the Jaro-Winkler distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.levenshtein(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing the Levenshtein distance
between the specified string valued expressions.
|
static ScalarValuedFunction |
StringEncodings.metaphone(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Metaphone algorithm.
|
static ScalarValuedFunction |
Similarity.positionalQgram(ScalarValuedFunction left,
ScalarValuedFunction right,
int q,
int maxDist)
Builds a function computing the percentage of q-grams in common
between the specified string valued expressions.
|
static ScalarValuedFunction |
Similarity.proximity(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function computing an adjusted quotient
of the numeric values of the specified fields.
|
static ScalarValuedFunction |
Similarity.qgram(ScalarValuedFunction left,
ScalarValuedFunction right,
int q)
Builds a function computing the percentage of q-grams in common
between the specified string valued expressions.
|
static ScalarValuedFunction |
StringEncodings.refinedSoundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
refined Soundex algorithm.
|
static ScalarValuedFunction |
Similarity.shorthand(ScalarValuedFunction left,
ScalarValuedFunction right)
Builds a function testing shorthand equivalence
between the specified string valued expressions.
|
static ScalarValuedFunction |
StringEncodings.soundex(ScalarValuedFunction value)
Builds a function phonetically encoding the string
value to which the specified expression evaluates using the
Soundex algorithm.
|
Modifier and Type | Method and Description |
---|---|
ScalarValuedFunction |
AssertPredicate.getPredicate()
Get the predicate function.
|
Modifier and Type | Method and Description |
---|---|
void |
AssertPredicate.setPredicate(ScalarValuedFunction predicate)
Set the predicate function to assert.
|
Constructor and Description |
---|
AssertPredicate(ScalarValuedFunction predicate)
Create the assertion operator with the given predicate.
|
Modifier and Type | Method and Description |
---|---|
List<ScalarValuedFunction> |
Aggregation.getSourceFunctions()
Returns the source functions of this aggregation.
|
Modifier and Type | Method and Description |
---|---|
static Aggregation |
Aggregation.avg(ScalarValuedFunction input)
Create an average value aggregation for the given input.
|
static Aggregation |
Aggregation.corr(ScalarValuedFunction input1,
ScalarValuedFunction input2)
Create a correlation aggregation for the given inputs.
|
static Aggregation |
Aggregation.count(ScalarValuedFunction input)
Create a value count aggregation for the given input.
|
static Aggregation |
Aggregation.covar(ScalarValuedFunction input1,
ScalarValuedFunction input2)
Create a covariance aggregation for the given inputs.
|
static Aggregation |
Aggregation.covar(ScalarValuedFunction input1,
ScalarValuedFunction input2,
boolean sample)
Create a covariance aggregation for the given inputs.
|
static Aggregation |
Aggregation.geoAvg(ScalarValuedFunction input)
Create a geometric average value aggregation for the given input.
|
static Aggregation |
Aggregation.harmAvg(ScalarValuedFunction input)
Create an harmonic average value aggregation for the given input.
|
static Aggregation |
Aggregation.kurtosis(ScalarValuedFunction input)
Create a kurtosis aggregation for the given input.
|
static Aggregation |
Aggregation.kurtosis(ScalarValuedFunction input,
boolean sample)
Create a kurtosis aggregation for the given input.
|
static Aggregation |
Aggregation.max(ScalarValuedFunction input)
Create a maximum value aggregation for the given input.
|
static Aggregation |
Aggregation.min(ScalarValuedFunction input)
Create a minimum value aggregation for the given input.
|
static Aggregation |
Aggregation.moment(ScalarValuedFunction input,
int k)
Create a central moment aggregation for the given input.
|
static Aggregation |
Aggregation.skewness(ScalarValuedFunction input)
Create a skewness aggregation for the given input.
|
static Aggregation |
Aggregation.skewness(ScalarValuedFunction input,
boolean sample)
Create a skewness aggregation for the given input.
|
static Aggregation |
Aggregation.stddev(ScalarValuedFunction input)
Create a standard deviation aggregation for the given input.
|
static Aggregation |
Aggregation.stddev(ScalarValuedFunction input,
boolean sample)
Create a standard deviation aggregation for the given input.
|
static Aggregation |
Aggregation.sum(ScalarValuedFunction input)
Create a value summation aggregation for the given input.
|
static Aggregation |
Aggregation.sumSquares(ScalarValuedFunction input)
Create a sum-squares aggregation for the given input.
|
static Aggregation |
Aggregation.var(ScalarValuedFunction input)
Create a variance aggregation for the given input.
|
static Aggregation |
Aggregation.var(ScalarValuedFunction input,
boolean sample)
Create a variance aggregation for the given input.
|
Constructor and Description |
---|
Aggregation(AggregatorFactory aggregatorFactory,
ScalarValuedFunction sourceFunction)
Constructs an
Aggregation for a specified record field using specified arguments. |
Constructor and Description |
---|
Aggregation(AggregatorFactory aggregatorFactory,
List<ScalarValuedFunction> sourceFunctions)
Constructs an
Aggregation for a specified record field using specified arguments. |
Modifier and Type | Method and Description |
---|---|
ScalarValuedFunction |
FilterExistJoinProcess.getJoinCondition() |
ScalarValuedFunction |
AbstractRelationalJoin.getJoinCondition()
If non-null, the condition is evaluated for every possible matching row.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterExistJoinProcess.setJoinCondition(ScalarValuedFunction joinCondition) |
void |
AbstractRelationalJoin.setJoinCondition(ScalarValuedFunction joinCondition)
Sets the join condition.
|
Modifier and Type | Method and Description |
---|---|
ScalarValuedFunction |
FieldDerivation.getFunction()
Gets the function for deriving the field value.
|
Modifier and Type | Method and Description |
---|---|
static FieldDerivation |
FieldDerivation.apply(ScalarTokenType fieldType,
ScalarValuedFunction f,
String variableName)
Applies a function to each input field matching the specified
type criteria.
|
static FieldDerivation |
FieldDerivation.derive(String name,
ScalarValuedFunction f)
Defines a derivation of the named field using the specified function.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
FieldDerivation.collectMapping(RecordTokenType inputType,
Map<String,ScalarValuedFunction> mappings)
Verifies derivation can be applied in the given input context and
records the field mapping.
|
abstract FieldDerivation |
FieldDerivation.mapFieldsToFunctions(Map<String,ScalarValuedFunction> mapping)
Creates a new field derivation, equivalent to the given derivation, but with specified field references
mapped to functions.
|
Modifier and Type | Method and Description |
---|---|
ScalarValuedFunction |
FilterRows.getPredicate()
Gets the predicate used by the filter operation.
|
Modifier and Type | Method and Description |
---|---|
void |
FilterRows.setPredicate(ScalarValuedFunction p)
Sets the predicate for the filter operation.
|
Constructor and Description |
---|
FilterRows(ScalarValuedFunction p)
Defines a filter using the specified predicate.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
Sequences.sequence(ScalarTokenType resultType)
Creates a sequence function that increments the value with each invocation.
|
static ScalarValuedFunction |
Sequences.sequence(ScalarTokenType resultType,
BigDecimal startValue,
BigDecimal stepSize)
Creates a sequence function that increments the value with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceDouble(double startValue,
double stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceFloat(float startValue,
float stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceInteger(int startValue,
int stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceLong(long startValue,
long stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceMoney(BigDecimal startValue,
BigDecimal stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
static ScalarValuedFunction |
Sequences.sequenceNumeric(BigDecimal startValue,
BigDecimal stepSize)
Creates a sequence function that increments/decrements its value by the specified step
size with each invocation.
|
Constructor and Description |
---|
FieldCopier(RecordSettable target,
RecordValued source,
Map<String,ScalarValuedFunction> replacements)
Creates a setter binding the specified output buffer to the
provided input values and functions.
|
FieldCopier(ScalarOutputField[] outputs,
RecordValued input,
Map<String,ScalarValuedFunction> replacements)
Creates a setter binding the specified output fields to the
provided input values and functions.
|
Copyright © 2021 Actian Corporation. All rights reserved.