Functions#
RuntimeContext#
Returns the name of the task in which the UDF runs, as assigned during plan construction. |
|
Gets the parallelism with which the parallel task runs. |
|
Gets the number of max-parallelism with which the parallel task runs. |
|
Gets the number of this parallel subtask. |
|
Gets the attempt number of this parallel subtask. |
|
Returns the name of the task, appended with the subtask indicator, such as "MyTask (3/6)", where 3 would be ( |
|
|
Gets the global job parameter value associated with the given key as a string. |
Gets the metric group. |
|
|
Gets a handle to the system's key/value state. |
|
Gets a handle to the system's key/value list state. |
|
Gets a handle to the system's key/value map state. |
Gets a handle to the system's key/value reducing state. |
|
Gets a handle to the system's key/value aggregating state. |
Function#
All user-defined functions.
Base class for Map functions. |
|
A CoMapFunction implements a map() transformation over two connected streams. |
|
Base class for flatMap functions. |
|
A CoFlatMapFunction implements a flat-map transformation over two connected streams. |
|
Base interface for Reduce functions. |
|
The AggregateFunction is a flexible aggregation function, characterized by the following features: |
|
A function that process elements of a stream. |
|
A keyed function processes elements of a stream. |
|
A function that processes elements of two streams and produces a single output one. |
|
A function that processes elements of two keyed streams and produces a single output one. |
|
|
Base interface for functions that are evaluated over keyed (grouped) windows. |
|
Base interface for functions that are evaluated over keyed (grouped) windows using a context for retrieving extra information. |
The KeySelector allows to use deterministic objects for operations such as reduce, reduceGroup, join coGroup, etc. |
|
A filter function is a predicate applied individually to each record. |
|
Function to implement a custom partition assignment for keys. |