- java.lang.Object
-
- swim.streamlet.AbstractMapInletOutlet<K,V,I,O>
-
- swim.streamlet.combinator.ReduceFieldsOperator<K,V,I,O>
-
- All Implemented Interfaces:
Inlet<I>
,MapInlet<K,V,I>
,MapInletOutlet<K,V,I,O>
,Outlet<O>
- Direct Known Subclasses:
ReduceFieldsCombinator
public abstract class ReduceFieldsOperator<K,V,I,O> extends AbstractMapInletOutlet<K,V,I,O>
-
-
Constructor Summary
Constructors Constructor Description ReduceFieldsOperator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract O
accumulate(O result, V value)
abstract O
combine(O result, O value)
O
get()
Returns the current state of thisOutlet
.abstract O
identity()
protected void
onRecohereOutputKey(K key, KeyEffect effect, int version)
-
Methods inherited from class swim.streamlet.AbstractMapInletOutlet
bindInput, bindInput, bindOutput, decohere, decohereInput, decohereOutput, decohereOutputKey, didDecohere, didDecohereOutputKey, didRecohere, didRecohereOutputKey, disconnectInputs, disconnectOutputs, input, onDecohere, onDecohereOutputKey, onRecohere, outputIterator, recohere, recohereInput, recohereOutput, recohereOutputKey, unbindInput, unbindOutput, unbindOutputs, willDecohere, willDecohereOutputKey, willRecohere, willRecohereOutputKey
-
-
-
-
Method Detail
-
get
public O get()
Description copied from interface:Outlet
Returns the current state of thisOutlet
.
-
onRecohereOutputKey
protected void onRecohereOutputKey(K key, KeyEffect effect, int version)
- Overrides:
onRecohereOutputKey
in classAbstractMapInletOutlet<K,V,I,O>
-
identity
public abstract O identity()
-
-