RichAsyncFunction
org.apache.flinkx.api.async.RichAsyncFunction
abstract class RichAsyncFunction[IN, OUT] extends AbstractRichFunction, AsyncFunction[IN, OUT]
Rich variant of AsyncFunction. As a org.apache.flink.api.common.functions.RichFunction, it gives access to the org.apache.flink.api.common.functions.RuntimeContext and provides setup and teardown methods.
State related apis in org.apache.flink.api.common.functions.RuntimeContext are not supported yet because the key may get changed while accessing states in the working thread.
org.apache.flink.api.common.functions.IterationRuntimeContext#getIterationAggregator is not supported since the aggregator may be modified by multiple threads.
Type parameters
- IN
-
The type of the input value.
- OUT
-
The type of the output value.
Attributes
- Graph
-
- Supertypes
-
class AbstractRichFunctiontrait RichFunctiontrait Functiontrait Serializableclass Objecttrait Matchableclass Any
Members list
In this article