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, removeChildacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, getPulledContents, getReceivers, removeChildacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTagpublic UniquenessEnforcerNode(ReteContainer reteContainer, int tupleWidth)
public TupleMemory getMemory()
public void update(Direction direction, Tuple updateElement)
Receiverpublic ProjectionIndexer constructIndex(TupleMask mask, TraceInfo... traces)
SupplierconstructIndex in interface SupplierconstructIndex in class StandardNodepublic void pullInto(java.util.Collection<Tuple> collector)
Supplierpublic MemoryNullIndexer getNullIndexer()
public MemoryIdentityIndexer getIdentityIndexer()
public void appendParent(Supplier supplier)
ReceiverappendParent in interface Receiverpublic void removeParent(Supplier supplier)
ReceiverremoveParent in interface Receiverpublic java.util.Collection<Supplier> getParents()
ReceivergetParents in interface Receiverpublic void assignTraceInfo(TraceInfo traceInfo)
NodeassignTraceInfo in interface NodeassignTraceInfo in class BaseNode