@PublicEvolving public interface State
The state is only accessible by functions applied on a KeyedDataStream. The key is automatically supplied by the system, so the function always sees the value mapped to the key of the current element. That way, the system can handle stream and state partitioning consistently together.
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.