pyflink.datastream.functions.RuntimeContext.get_map_state#
- abstract RuntimeContext.get_map_state(state_descriptor: pyflink.datastream.state.MapStateDescriptor) pyflink.datastream.state.MapState #
Gets a handle to the system’s key/value map state. This state is similar to the value state access, but is optimized for state that is composed of user-defined key-value pairs.
This state is only accessible if the function is executed on a KeyedStream.