public class UniquenessEnforcerNode extends StandardNode implements Tunnel
Constructor and Description |
---|
UniquenessEnforcerNode(ReteContainer reteContainer,
int tupleWidth) |
Modifier and Type | Method and Description |
---|---|
void |
appendParent(Supplier supplier)
appends a parent that will continously send insert and revoke updates to this supplier
|
void |
assignTraceInfo(TraceInfo traceInfo)
assigns new traceability info to this node
|
ProjectionIndexer |
constructIndex(TupleMask mask,
TraceInfo... traces)
Instantiates (or reuses, depending on implementation) an index according to the given mask.
|
MemoryIdentityIndexer |
getIdentityIndexer() |
TupleMemory |
getMemory() |
MemoryNullIndexer |
getNullIndexer() |
java.util.Collection<Supplier> |
getParents()
access active parent
|
void |
pullInto(java.util.Collection<Tuple> collector)
pulls the contents of this object in this particular moment into a target collection
|
void |
removeParent(Supplier supplier)
removes a parent
|
void |
update(Direction direction,
Tuple updateElement)
updates the receiver with a newly found or lost partial matching
|
appendChild, getPulledContents, getReceivers, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, getPulledContents, getReceivers, removeChild
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public UniquenessEnforcerNode(ReteContainer reteContainer, int tupleWidth)
public TupleMemory getMemory()
public void update(Direction direction, Tuple updateElement)
Receiver
public ProjectionIndexer constructIndex(TupleMask mask, TraceInfo... traces)
Supplier
constructIndex
in interface Supplier
constructIndex
in class StandardNode
public void pullInto(java.util.Collection<Tuple> collector)
Supplier
public MemoryNullIndexer getNullIndexer()
public MemoryIdentityIndexer getIdentityIndexer()
public void appendParent(Supplier supplier)
Receiver
appendParent
in interface Receiver
public void removeParent(Supplier supplier)
Receiver
removeParent
in interface Receiver
public java.util.Collection<Supplier> getParents()
Receiver
getParents
in interface Receiver
public void assignTraceInfo(TraceInfo traceInfo)
Node
assignTraceInfo
in interface Node
assignTraceInfo
in class BaseNode