- java.lang.Object
-
- swim.streamlet.AbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
- swim.streamlet.combinator.FilterFieldsOperator<K,V,I>
-
- All Implemented Interfaces:
Inlet<I>,MapInlet<K,V,I>,MapInletMapOutlet<K,K,V,V,I,Map<K,V>>,MapOutlet<K,V,Map<K,V>>,Outlet<Map<K,V>>
- Direct Known Subclasses:
FilterFieldsCombinator
public abstract class FilterFieldsOperator<K,V,I> extends AbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
-
Field Summary
-
Fields inherited from class swim.streamlet.AbstractMapInletMapOutlet
input, inputEffects, outlets, outputEffects, outputs, version
-
-
Constructor Summary
Constructors Constructor Description FilterFieldsOperator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(K key)Returnstrueif the current state of thisMapOutletcontains the givenkey; otherwise returnsfalse.abstract booleanevaluate(K key, V value)Map<K,V>get()Returns the current state of thisOutlet.Vget(K key)Returns the value assocaited with the givenkeyin the current state of thisMapOutlet, if defined; otherwise returnsnull.Iterator<K>keyIterator()Returns anIteratorover the keys in the current state of thisMapOutlet.protected voidonInvalidateOutputKey(K key, KeyEffect effect)protected voidonReconcileOutputKey(K key, KeyEffect effect, int version)protected KeyEffectwillReconcileInputKey(K key, KeyEffect effect, int version)-
Methods inherited from class swim.streamlet.AbstractMapInletMapOutlet
bindInput, bindInput, bindOutput, didInvalidate, didInvalidateInputKey, didInvalidateOutputKey, didReconcile, didReconcileInputKey, didReconcileOutputKey, disconnectInputs, disconnectOutputs, input, invalidate, invalidateInput, invalidateInputKey, invalidateOutput, invalidateOutputKey, onInvalidate, onInvalidateInputKey, onReconcile, onReconcileInputKey, outlet, outputIterator, reconcile, reconcileInput, reconcileInputKey, reconcileOutput, reconcileOutputKey, unbindInput, unbindOutput, unbindOutputs, willInvalidate, willInvalidateInputKey, willInvalidateOutputKey, willReconcile, willReconcileOutputKey
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(K key)
Description copied from interface:MapOutletReturnstrueif the current state of thisMapOutletcontains the givenkey; otherwise returnsfalse.- Specified by:
containsKeyin interfaceMapOutlet<K,V,I>- Specified by:
containsKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
get
public V get(K key)
Description copied from interface:MapOutletReturns the value assocaited with the givenkeyin the current state of thisMapOutlet, if defined; otherwise returnsnull.
-
get
public Map<K,V> get()
Description copied from interface:OutletReturns the current state of thisOutlet.
-
keyIterator
public Iterator<K> keyIterator()
Description copied from interface:MapOutletReturns anIteratorover the keys in the current state of thisMapOutlet.- Specified by:
keyIteratorin interfaceMapOutlet<K,V,I>- Specified by:
keyIteratorin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
onInvalidateOutputKey
protected void onInvalidateOutputKey(K key, KeyEffect effect)
- Overrides:
onInvalidateOutputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
onReconcileOutputKey
protected void onReconcileOutputKey(K key, KeyEffect effect, int version)
- Overrides:
onReconcileOutputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
willReconcileInputKey
protected KeyEffect willReconcileInputKey(K key, KeyEffect effect, int version)
- Overrides:
willReconcileInputKeyin classAbstractMapInletMapOutlet<K,K,V,V,I,Map<K,V>>
-
-