- 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>,swim.util.PairBuilder<swim.structure.Value,swim.structure.Value,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)voiddecohereInput()voiddecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voiddidDecohereInput()protected voiddidDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voiddidRecohereInput(int version)protected voiddidRecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)voiddisconnectInputs()voiddisconnectOutputs()swim.structure.Recordget()abstract Iterator<swim.structure.Value>keyIterator()protected voidonDecohereInput()protected voidonDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voidonRecohereInput(int version)protected voidonRecohereInputKey(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()voidrecohereInput(int version)voidrecohereInputKey(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 voidwillDecohereInput()protected voidwillDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)protected voidwillRecohereInput(int version)protected voidwillRecohereInputKey(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, add, addAll, addAll, alias, appended, appended, asMutable, 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, isDefinite, 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>
-
decohereInputKey
public void decohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)- Specified by:
decohereInputKeyin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>
-
decohereInput
public void decohereInput()
- Specified by:
decohereInputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
recohereInputKey
public void recohereInputKey(swim.structure.Value key, int version)- Specified by:
recohereInputKeyin interfaceswim.streamlet.MapOutlet<swim.structure.Value,swim.structure.Value,swim.structure.Record>
-
recohereInput
public void recohereInput(int version)
- Specified by:
recohereInputin interfaceswim.streamlet.Outlet<swim.structure.Record>
-
willDecohereInputKey
protected void willDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
onDecohereInputKey
protected void onDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
didDecohereInputKey
protected void didDecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect)
-
willDecohereInput
protected void willDecohereInput()
-
onDecohereInput
protected void onDecohereInput()
-
didDecohereInput
protected void didDecohereInput()
-
willRecohereInputKey
protected void willRecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
onRecohereInputKey
protected void onRecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
didRecohereInputKey
protected void didRecohereInputKey(swim.structure.Value key, swim.streamlet.KeyEffect effect, int version)
-
willRecohereInput
protected void willRecohereInput(int version)
-
onRecohereInput
protected void onRecohereInput(int version)
-
didRecohereInput
protected void didRecohereInput(int version)
-
-