@Experimental
public interface ProcessFunction
extends org.apache.flink.api.common.functions.Function
default void open()
throws Exception
By default, this method does nothing.
Exception - Implementations may forward exceptions, which are caught by the runtime.
When the runtime catches an exception, it aborts the task and lets the fail-over logic
decide whether to retry the task execution.default Set<org.apache.flink.api.common.state.StateDeclaration> usesStates()
default void close()
throws Exception
This method can be used for clean up work.
Exception - Implementations may forward exceptions, which are caught by the runtime.
When the runtime catches an exception, it aborts the task and lets the fail-over logic
decide whether to retry the task execution.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.