Using Core Functions
Scalar functions that can be applied with
Using the DeriveFields Operator to Compute New Fields are contained in the
com.pervasive.dataflow.functions package. The functions are grouped into categories. Each category is contained within a single Java class. Each class contains a set of static methods for creating scalar functions.
Each category and its available functions are outlined below. Unless otherwise noted, the equivalent function in RushScript will match the scalar function.
Arithmetic Functions
The
Arithmetic category provides functions for doing basic arithmetic functions.
Conditional Functions
The
Conditionals category provides functions that apply logic for conditionally selecting input values.
Constant Reference Functions
Conversion Functions
The
Conversions category provides a set of functions for converting the types of input data values.
Date and Time Functions
The
DateTime category provides functions for dealing with date, time, and timestamp values.
Field Reference Functions
The
FieldReference category provides functions for accessing named fields within input data. These functions can be used in places where a function is required but a simple field value access is wanted.
Formatting Functions
The
Formatting category provides implementations of common formatting functions.
List Functions
The
List category provides common List manipulation functions.
Map Functions
The
Map category provides common Map manipulation functions.
Math Functions
The
Math category provides implementations of common math functions.
Predicate Functions
The
Predicates category provides implementations of common boolean and logical functions.
Statistics Functions
The
Statistics category provides implementations of common statistical functions.
String Functions
The
Strings category provides common String manipulation functions.
Last modified date: 06/14/2024