- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Record
-
- swim.dataflow.AbstractRecordOutlet
-
- All Implemented Interfaces:
Comparable<swim.structure.Item>,Iterable<swim.structure.Item>,Collection<swim.structure.Item>,List<swim.structure.Item>,swim.codec.Debug,swim.codec.Display,RecordOutlet,swim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>,swim.streamlet.Outlet<swim.structure.Record>,swim.streamlet.StreamletScope<swim.structure.Value>,swim.util.Builder<swim.structure.Item,swim.structure.Record>
- Direct Known Subclasses:
RecordModel
public abstract class AbstractRecordOutlet extends swim.structure.Record implements RecordOutlet
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.collections.HashTrieMap<swim.structure.Value,swim.streamlet.KeyEffect>effectsprotected swim.collections.HashTrieMap<swim.structure.Value,swim.streamlet.KeyOutlet<swim.structure.Value,swim.structure.Value>>outletsprotected swim.streamlet.Inlet<? super swim.structure.Record>[]outputsprotected intversion
-
Constructor Summary
Constructors Constructor Description AbstractRecordOutlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidbindOutput(swim.streamlet.Inlet<? super swim.structure.Record> output)booleancontainsOwnKey(swim.structure.Value key)protected voiddidInvalidateInput()protected voiddidInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voiddidReconcileInput(int version)protected voiddidReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)voiddisconnectInputs()voiddisconnectOutputs()swim.structure.Recordget()voidinvalidateInput()voidinvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)abstract Iterator<swim.structure.Value>keyIterator()protected voidonInvalidateInput()protected voidonInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voidonReconcileInput(int version)protected voidonReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)swim.streamlet.Outlet<swim.structure.Value>outlet(String key)swim.streamlet.Outlet<swim.structure.Value>outlet(swim.structure.Value key)Iterator<swim.streamlet.Inlet<? super swim.structure.Record>>outputIterator()voidreconcileInput(int version)voidreconcileInputKey(swim.structure.Value key, int version)swim.streamlet.StreamletContextstreamletContext()swim.streamlet.StreamletScope<? extends swim.structure.Value>streamletScope()voidunbindOutput(swim.streamlet.Inlet<? super swim.structure.Record> output)voidunbindOutputs()protected voidwillInvalidateInput()protected voidwillInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voidwillReconcileInput(int version)protected voidwillReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)-
Methods inherited from class swim.structure.Record
add, add, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, alias, appended, appended, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, attr, bind, body, branch, clear, commit, compareTo, compareTo, concat, contains, contains, containsAll, containsKey, containsKey, containsValue, create, create, debug, empty, entrySet, equals, evaluate, fieldCount, fieldIterator, fieldSet, flattened, get, get, get, getAttr, getAttr, getField, getField, getItem, getSlot, getSlot, hashCode, head, header, headers, indexOf, isAliased, isArray, isConstant, isEmpty, isMutable, isObject, item, item, item, item, item, item, item, iterator, keySet, lastIndexOf, length, listIterator, listIterator, of, of, of, prepended, prepended, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putAttr, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, remove, remove, removeAll, removed, removed, removeKey, removeKey, retainAll, set, setItem, setItem, setItem, setItem, setItem, setItem, setItem, size, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, stringValue, stringValue, subList, substitute, tag, tail, target, toArray, toArray, typeOrder, unflattened, updated, updated, updatedAttr, updatedAttr, updatedSlot, updatedSlot, valueCount, valueIterator, values
-
Methods inherited from class swim.structure.Value
absent, and, and, bitwiseAnd, bitwiseAnd, bitwiseNot, bitwiseOr, bitwiseOr, bitwiseXor, bitwiseXor, booleanValue, booleanValue, builder, byteValue, byteValue, charValue, charValue, conditional, conditional, divide, divide, doubleValue, doubleValue, eq, eq, extant, floatValue, floatValue, fromObject, ge, ge, gt, gt, integerValue, integerValue, intValue, intValue, inverse, isDefined, isDistinct, key, keyEquals, lambda, le, le, longValue, longValue, lt, lt, minus, minus, modulo, modulo, ne, ne, negative, not, numberValue, numberValue, or, or, plus, plus, positive, shortValue, shortValue, times, times, toValue
-
Methods inherited from class swim.structure.Item
appended, appended, appended, appended, appended, appended, cast, cast, coerce, coerce, display, evaluate, filter, filter, globalScope, invoke, max, min, precedence, prepended, prepended, prepended, prepended, prepended, prepended, substitute, toString, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updated, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedAttr, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot, updatedSlot
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Field Detail
-
effects
protected swim.collections.HashTrieMap<swim.structure.Value,swim.streamlet.KeyEffect> effects
-
outlets
protected swim.collections.HashTrieMap<swim.structure.Value,swim.streamlet.KeyOutlet<swim.structure.Value,swim.structure.Value>> outlets
-
outputs
protected swim.streamlet.Inlet<? super swim.structure.Record>[] outputs
-
version
protected int version
-
-
Method Detail
-
streamletScope
public swim.streamlet.StreamletScope<? extends swim.structure.Value> streamletScope()
- Specified by:
streamletScopein interfaceswim.streamlet.StreamletScope<swim.structure.Value>
-
streamletContext
public swim.streamlet.StreamletContext streamletContext()
- Specified by:
streamletContextin interfaceswim.streamlet.StreamletScope<swim.structure.Value>
-
containsOwnKey
public boolean containsOwnKey(swim.structure.Value key)
-
keyIterator
public abstract Iterator<swim.structure.Value> keyIterator()
- Specified by:
keyIteratorin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>- Overrides:
keyIteratorin classswim.structure.Record
-
get
public swim.structure.Record get()
- Specified by:
getin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
outlet
public swim.streamlet.Outlet<swim.structure.Value> outlet(swim.structure.Value key)
- Specified by:
outletin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>- Specified by:
outletin interfaceRecordOutlet
-
outlet
public swim.streamlet.Outlet<swim.structure.Value> outlet(String key)
- Specified by:
outletin interfaceRecordOutlet- Specified by:
outletin interfaceswim.streamlet.StreamletScope<swim.structure.Value>
-
outputIterator
public Iterator<swim.streamlet.Inlet<? super swim.structure.Record>> outputIterator()
- Specified by:
outputIteratorin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
bindOutput
public void bindOutput(swim.streamlet.Inlet<? super swim.structure.Record> output)
- Specified by:
bindOutputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
unbindOutput
public void unbindOutput(swim.streamlet.Inlet<? super swim.structure.Record> output)
- Specified by:
unbindOutputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
unbindOutputs
public void unbindOutputs()
- Specified by:
unbindOutputsin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
disconnectOutputs
public void disconnectOutputs()
- Specified by:
disconnectOutputsin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
disconnectInputs
public void disconnectInputs()
- Specified by:
disconnectInputsin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
invalidateInputKey
public void invalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)- Specified by:
invalidateInputKeyin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>
-
invalidateInput
public void invalidateInput()
- Specified by:
invalidateInputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
reconcileInputKey
public void reconcileInputKey(swim.structure.Value key, int version)- Specified by:
reconcileInputKeyin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>
-
reconcileInput
public void reconcileInput(int version)
- Specified by:
reconcileInputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
willInvalidateInputKey
protected void willInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
onInvalidateInputKey
protected void onInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
didInvalidateInputKey
protected void didInvalidateInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
willInvalidateInput
protected void willInvalidateInput()
-
onInvalidateInput
protected void onInvalidateInput()
-
didInvalidateInput
protected void didInvalidateInput()
-
willReconcileInputKey
protected void willReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
onReconcileInputKey
protected void onReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
didReconcileInputKey
protected void didReconcileInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
willReconcileInput
protected void willReconcileInput(int version)
-
onReconcileInput
protected void onReconcileInput(int version)
-
didReconcileInput
protected void didReconcileInput(int version)
-
-