Class ReduceFieldsOperator<K,V,I,O>

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>
  • Field Details

  • Constructor Details

    • ReduceFieldsOperator

      public ReduceFieldsOperator()
  • Method Details

    • get

      public O get()
      Description copied from interface: Outlet
      Returns the current state of this Outlet.
      Specified by:
      get in interface Outlet<K>
      Specified by:
      get in class AbstractMapInletOutlet<K,V,I,O>
    • onRecohereOutputKey

      protected void onRecohereOutputKey(K key, KeyEffect effect, int version)
      Overrides:
      onRecohereOutputKey in class AbstractMapInletOutlet<K,V,I,O>
    • identity

      public abstract O identity()
    • accumulate

      public abstract O accumulate(O result, V value)
    • combine

      public abstract O combine(O result, O value)