Package | Description |
---|---|
org.apache.storm.streams | |
org.apache.storm.streams.operations | |
org.apache.storm.streams.processors |
Modifier and Type | Method and Description |
---|---|
<R> StreamState<K,R> |
PairStream.updateStateByKey(StateUpdater<? super V,? extends R> stateUpdater)
Update the state by applying the given state update function to the previous state of the key and the new value for the key.
|
Modifier and Type | Method and Description |
---|---|
static <T,S> StateUpdater<T,S> |
StateUpdater.of(S initialValue,
BiFunction<? super S,? super T,? extends S> stateUpdateFn)
A static factory to create a
StateUpdater based on an initial value of the state and a state update function. |
Constructor and Description |
---|
UpdateStateByKeyProcessor(StateUpdater<V,R> stateUpdater) |
Copyright © 2020 The Apache Software Foundation. All rights reserved.