Class CountNode
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.network.StandardNode
tools.refinery.interpreter.rete.aggregation.IndexerBasedAggregatorNode
tools.refinery.interpreter.rete.aggregation.CountNode
- All Implemented Interfaces:
IAggregatorNode
,NetworkStructureChangeSensitiveNode
,Node
,Supplier
An aggregation node that simply counts the number of tuples conforming to the signature.
- Since:
- 1.4
-
Field Summary
Fields inherited from class tools.refinery.interpreter.rete.network.StandardNode
childMailboxes, children
Fields inherited from class tools.refinery.interpreter.rete.network.BaseNode
nodeId, reteContainer, tag, traceInfos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregateGroup
(Tuple signature, Collection<Tuple> group) Aggregates (reduces) a group of tuples.Methods inherited from class tools.refinery.interpreter.rete.aggregation.IndexerBasedAggregatorNode
aggregateAndPack, aggregateGroupAfterUpdate, aggregateUpdate, assignTraceInfo, getAggregatorOuterIdentityIndexer, getAggregatorOuterIndexer, initializeWith, networkStructureChanged, packResult, pullInto, pullIntoWithTimeline
Methods inherited from class tools.refinery.interpreter.rete.network.StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, propagateUpdate, removeChild
Methods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface tools.refinery.interpreter.rete.network.Node
acceptPropagatedTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
Methods inherited from interface tools.refinery.interpreter.rete.network.Supplier
getPulledContents
-
Constructor Details
-
CountNode
-
-
Method Details
-
aggregateGroup
Description copied from class:IndexerBasedAggregatorNode
Aggregates (reduces) a group of tuples. The group can be null.- Specified by:
aggregateGroup
in classIndexerBasedAggregatorNode
-