public class InMemoryBagUserStateFactory<K,V,W extends BoundedWindow> extends java.lang.Object implements StateRequestHandlers.BagUserStateHandlerFactory<K,V,W>
resetForNewKey()
before processing a new key.Constructor and Description |
---|
InMemoryBagUserStateFactory() |
Modifier and Type | Method and Description |
---|---|
StateRequestHandlers.BagUserStateHandler<K,V,W> |
forUserState(java.lang.String pTransformId,
java.lang.String userStateId,
Coder<K> keyCoder,
Coder<V> valueCoder,
Coder<W> windowCoder) |
void |
resetForNewKey()
Prepares previous emitted state handlers for processing a new key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unsupported
public StateRequestHandlers.BagUserStateHandler<K,V,W> forUserState(java.lang.String pTransformId, java.lang.String userStateId, Coder<K> keyCoder, Coder<V> valueCoder, Coder<W> windowCoder)
forUserState
in interface StateRequestHandlers.BagUserStateHandlerFactory<K,V,W extends BoundedWindow>
public void resetForNewKey()