pyflink.datastream.state.ListStateDescriptor#
- class ListStateDescriptor(name: str, elem_type_info: pyflink.common.typeinfo.TypeInformation)[source]#
StateDescriptor for ListState. This can be used to create state where the type is a list that can be appended and iterated over.
Methods
enable_time_to_live
(ttl_config)Configures optional activation of state time-to-live (TTL).
get_name
()Get the name of the state.