- java.lang.Object
-
- swim.structure.Item
-
- swim.structure.Value
-
- swim.structure.Record
-
- swim.dataflow.AbstractRecordOutlet
-
- swim.dataflow.RecordModel
-
- swim.dataflow.RecordScope
-
- All Implemented Interfaces:
Comparable<Item>
,Iterable<Item>
,Collection<Item>
,List<Item>
,Debug
,Display
,RecordOutlet
,MapOutlet<Value,Value,Record>
,Outlet<Record>
,StreamletScope<Value>
,Builder<Item,Record>
,PairBuilder<Value,Value,Record>
public class RecordScope extends RecordModel
-
-
Field Summary
Fields Modifier and Type Field Description protected StreamletScope<? extends Value>
scope
-
Fields inherited from class swim.dataflow.RecordModel
fieldUpdaters, state
-
Fields inherited from class swim.dataflow.AbstractRecordOutlet
effects, outlets, outputs, version
-
-
Constructor Summary
Constructors Constructor Description RecordScope(StreamletScope<? extends Value> scope)
RecordScope(StreamletScope<? extends Value> scope, Record state)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecordScope
create(Record record)
static RecordScope
of()
static RecordScope
of(Object object)
static RecordScope
of(Object... objects)
StreamletScope<? extends Value>
streamletScope()
Returns the lexically scoped parent of thisStreamletScope
.-
Methods inherited from class swim.dataflow.RecordModel
add, add, bindValue, clear, compile, compileField, compileItem, compileValue, containsKey, containsOwnKey, disconnectInputs, fieldCount, get, get, getAttr, getField, getItem, getSlot, globalScope, indexOf, isArray, isEmpty, isObject, keyIterator, lastIndexOf, materialize, materializeField, materializeItem, materializeValue, memoize, put, put, putAttr, putAttr, putSlot, putSlot, reify, reify, reifyItem, remove, setItem, size, subList, valueCount
-
Methods inherited from class swim.dataflow.AbstractRecordOutlet
bindOutput, decohereInput, decohereInputKey, didDecohereInput, didDecohereInputKey, didRecohereInput, didRecohereInputKey, disconnectOutputs, get, onDecohereInput, onDecohereInputKey, onRecohereInput, onRecohereInputKey, outlet, outlet, outputIterator, recohereInput, recohereInputKey, streamletContext, unbindOutput, unbindOutputs, willDecohereInput, willDecohereInputKey, willRecohereInput, willRecohereInputKey
-
Methods inherited from class swim.structure.Record
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, commit, compareTo, compareTo, concat, contains, contains, containsAll, containsKey, containsValue, create, create, debug, empty, entrySet, equals, evaluate, fieldIterator, fieldSet, flattened, get, getAttr, getField, getSlot, hashCode, head, header, headers, isAliased, isConstant, isDefinite, isMutable, item, item, item, item, item, item, item, iterator, keySet, length, listIterator, listIterator, prepended, prepended, 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, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, putSlot, remove, removeAll, removed, removed, removeKey, removeKey, retainAll, set, setItem, setItem, setItem, setItem, setItem, setItem, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, slot, stringValue, stringValue, substitute, tag, tail, target, toArray, toArray, typeOrder, unflattened, updated, updated, updatedAttr, updatedAttr, updatedSlot, updatedSlot, 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, 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
-
scope
protected StreamletScope<? extends Value> scope
-
-
Constructor Detail
-
RecordScope
public RecordScope(StreamletScope<? extends Value> scope, Record state)
-
RecordScope
public RecordScope(StreamletScope<? extends Value> scope)
-
-
Method Detail
-
streamletScope
public final StreamletScope<? extends Value> streamletScope()
Description copied from interface:StreamletScope
Returns the lexically scoped parent of thisStreamletScope
. Returnsnull
if thisStreamletScope
has no lexical parent.- Specified by:
streamletScope
in interfaceStreamletScope<Value>
- Overrides:
streamletScope
in classAbstractRecordOutlet
-
create
public static RecordScope create(Record record)
-
of
public static RecordScope of()
-
of
public static RecordScope of(Object object)
-
of
public static RecordScope of(Object... objects)
-
-