Class DiscriminatorBucketNode
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.network.StandardNode
tools.refinery.interpreter.rete.single.SingleInputNode
tools.refinery.interpreter.rete.single.DiscriminatorBucketNode
- All Implemented Interfaces:
- NetworkStructureChangeSensitiveNode,- Node,- Receiver,- Supplier,- Tunnel
A bucket holds a filtered set of tuples of its parent 
DiscriminatorDispatcherNode.
 Exactly those that have the given bucket key at their discrimination column.
  During operation, tuple contents and bucket keys have already been wrapped using IQueryRuntimeContext.wrapElement(Object)
- Since:
- 1.5
- 
Field SummaryFields inherited from class tools.refinery.interpreter.rete.single.SingleInputNodemailbox, parentFields inherited from class tools.refinery.interpreter.rete.network.StandardNodechildMailboxes, childrenFields inherited from class tools.refinery.interpreter.rete.network.BaseNodenodeId, reteContainer, tag, traceInfos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendParent(Supplier supplier) appends a parent that will continuously send insert and revoke updates to this suppliervoidpullInto(Collection<Tuple> collector, boolean flush) Pulls the contents of this object in this particular moment into a target collection.voidpullIntoWithTimeline(Map<Tuple, Timeline<Timestamp>> collector, boolean flush) protected Stringclients should override this to append before the tag / trace indicatorsvoidUpdates the receiver with a newly found or lost partial matching.Methods inherited from class tools.refinery.interpreter.rete.single.SingleInputNodeassignTraceInfo, getCommunicationTracker, getMailbox, getParents, instantiateMailbox, propagatePullInto, propagatePullIntoWithTimestamp, removeParentMethods inherited from class tools.refinery.interpreter.rete.network.StandardNodeappendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, networkStructureChanged, propagateUpdate, removeChildMethods inherited from class tools.refinery.interpreter.rete.network.BaseNodeacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.interpreter.rete.network.NodeacceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface tools.refinery.interpreter.rete.network.ReceiverbatchUpdateMethods inherited from interface tools.refinery.interpreter.rete.network.SupplierappendChild, constructIndex, getPulledContents, getPulledContents, getReceivers, removeChild
- 
Constructor Details- 
DiscriminatorBucketNode- Parameters:
- bucketKey- will be wrapped using- IQueryRuntimeContext.wrapElement(Object)
 
 
- 
- 
Method Details- 
pullIntoDescription copied from interface:SupplierPulls the contents of this object in this particular moment into a target collection.- Parameters:
- flush- if true, flushing of messages is allowed during the pull, otherwise flushing is not allowed
 
- 
pullIntoWithTimeline
- 
updateDescription copied from interface:ReceiverUpdates the receiver with a newly found or lost partial matching.
- 
getBucketKey
- 
appendParentDescription copied from interface:Receiverappends a parent that will continuously send insert and revoke updates to this supplier- Specified by:
- appendParentin interface- Receiver
- Overrides:
- appendParentin class- SingleInputNode
 
- 
getDispatcher
- 
toStringCoreDescription copied from class:BaseNodeclients should override this to append before the tag / trace indicators- Overrides:
- toStringCorein class- BaseNode
 
 
-