public class DiscriminatorDispatcherNode extends SingleInputNode
DiscriminatorBucketNode),
based on the value of a given column.
Tuple contents and bucket keys have already been wrapped using IQueryRuntimeContext.wrapElement(Object)
mailbox, parentchildrennodeId, reteContainer, tag, traceInfos| Constructor and Description |
|---|
DiscriminatorDispatcherNode(ReteContainer reteContainer,
int discriminationColumnIndex) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChild(Receiver receiver)
appends a receiver that will continously receive insert and revoke updates from this supplier
|
int |
getDiscriminationColumnIndex() |
void |
pullInto(java.util.Collection<Tuple> collector)
pulls the contents of this object in this particular moment into a target collection
|
void |
pullIntoFiltered(java.util.Collection<Tuple> collector,
java.lang.Object bucketKey) |
void |
removeChild(Receiver receiver)
removes a receiver
|
protected java.lang.String |
toStringCore()
clients should override this to append before the tag / trace indicators
|
void |
update(Direction direction,
Tuple updateElement)
updates the receiver with a newly found or lost partial matching
|
appendParent, assignTraceInfo, getMailbox, getParents, instantiateMailbox, propagatePullInto, removeParentconstructIndex, getPulledContents, getReceivers, issueError, propagateUpdateacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconstructIndex, getPulledContents, getReceiversacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTagpublic DiscriminatorDispatcherNode(ReteContainer reteContainer, int discriminationColumnIndex)
reteContainer - public void update(Direction direction, Tuple updateElement)
Receiverpublic int getDiscriminationColumnIndex()
public void pullInto(java.util.Collection<Tuple> collector)
Supplierpublic void pullIntoFiltered(java.util.Collection<Tuple> collector, java.lang.Object bucketKey)
public void appendChild(Receiver receiver)
SupplierappendChild in interface SupplierappendChild in class StandardNodepublic void removeChild(Receiver receiver)
SupplierremoveChild in interface SupplierremoveChild in class StandardNodeprotected java.lang.String toStringCore()
BaseNodetoStringCore in class BaseNode