public class RelationEvaluatorNode extends StandardNode implements Supplier, Clearable
Receiver#doesProcessUpdatesInBatch() and evaluates arbitrary Java
logic represented by an IRelationEvaluator on the input relations. This is the backing computation node of a
RelationEvaluation constraint.| Modifier and Type | Class and Description |
|---|---|
class |
RelationEvaluatorNode.BatchingReceiver |
childMailboxes, childrennodeId, reteContainer, tag, traceInfos| Constructor and Description |
|---|
RelationEvaluatorNode(ReteContainer container,
IRelationEvaluator evaluator) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all partial matchings stored in memory
|
void |
connectToParents(java.util.List<Supplier> inputSuppliers) |
void |
networkStructureChanged()
At the time of the invocation, the dependency graph has already been updated.
|
void |
pullInto(java.util.Collection<Tuple> collector,
boolean flush)
Pulls the contents of this object in this particular moment into a target collection.
|
void |
pullIntoWithTimeline(java.util.Map<Tuple,Timeline<Timestamp>> collector,
boolean flush) |
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, propagateUpdate, removeChildacceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCoreclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, removeChildacceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagpublic RelationEvaluatorNode(ReteContainer container, IRelationEvaluator evaluator)
public void clear()
Clearablepublic void connectToParents(java.util.List<Supplier> inputSuppliers)
public void networkStructureChanged()
NetworkStructureChangeSensitiveNodenetworkStructureChanged in interface NetworkStructureChangeSensitiveNodenetworkStructureChanged in class StandardNodepublic void pullInto(java.util.Collection<Tuple> collector, boolean flush)
Supplierpublic void pullIntoWithTimeline(java.util.Map<Tuple,Timeline<Timestamp>> collector, boolean flush)
pullIntoWithTimeline in interface Supplier