@PublicEvolving public interface State
The state is only accessible by functions applied on a KeyedStream
. 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.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes the value mapped under the current key.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.