Package org.apache.flink.runtime.state
Interface KeyedStateFunction<K,S extends org.apache.flink.api.common.state.State>
- Type Parameters:
K- The type of key.S- The type of state.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface KeyedStateFunction<K,S extends org.apache.flink.api.common.state.State>
A function to be applied to all keyed states.
-
Method Summary
-
Method Details
-
process
The actual method to be applied on each of the states.- Parameters:
key- the key whose state is being processed.state- the state associated with the aforementioned key.- Throws:
Exception
-