pyflink.datastream.functions.RuntimeContext.get_list_state#
- abstract RuntimeContext.get_list_state(state_descriptor: pyflink.datastream.state.ListStateDescriptor) pyflink.datastream.state.ListState #
Gets a handle to the system’s key/value list state. This state is similar to the value state access, but is optimized for state that holds lists. One can add elements to the list, or retrieve the list as a whle.
This state is only accessible if the function is executed on a KeyedStream.