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 StandardNode
childMailboxes, childrenFields inherited from class 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 IndexerBasedAggregatorNode
aggregateAndPack, aggregateGroupAfterUpdate, aggregateUpdate, assignTraceInfo, getAggregatorOuterIdentityIndexer, getAggregatorOuterIndexer, initializeWith, networkStructureChanged, packResult, pullInto, pullIntoWithTimelineMethods inherited from class StandardNode
appendChild, constructIndex, getChildMailboxes, getPulledContents, getReceivers, issueError, propagateUpdate, removeChildMethods inherited from class BaseNode
acceptPropagatedTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCoreMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Node
acceptPropagatedTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface 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
-