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, childrenFields 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, pullIntoWithTimelineMethods inherited from class tools.refinery.interpreter.rete.network.StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, propagateUpdate, removeChildMethods inherited from class tools.refinery.interpreter.rete.network.BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCoreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.interpreter.rete.network.Node
acceptPropagatedTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface tools.refinery.interpreter.rete.network.Supplier
getPulledContents
-
Constructor Details
-
CountNode
-
-
Method Details
-
aggregateGroup
Description copied from class:IndexerBasedAggregatorNodeAggregates (reduces) a group of tuples. The group can be null.- Specified by:
aggregateGroupin classIndexerBasedAggregatorNode
-