public class GenericProjectionIndexer extends IndexerWithMemory implements ProjectionIndexer
mailbox, memory
listeners, mask, parent
communicationTracker, nodeId, reteContainer, tag, traceInfos
Constructor and Description |
---|
GenericProjectionIndexer(ReteContainer reteContainer,
TupleMask mask) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Tuple> |
get(Tuple signature) |
Receiver |
getActiveNode()
This indexer will be updated whenever a Rete update is sent to the active node (or an equivalent time slot
allotted to it).
|
int |
getBucketCount() |
java.lang.Iterable<Tuple> |
getSignatures()
A view consisting of exactly those signatures whose tuple group is not empty
|
java.util.Iterator<Tuple> |
iterator() |
protected void |
update(Direction direction,
Tuple updateElement,
Tuple signature,
boolean change)
Refined version of update
|
appendParent, getMailbox, getMemory, getParents, instantiateMailbox, removeParent, update
assignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent, propagate, toStringCore
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
attachListener, detachListener, getListeners, getMask, getParent
acceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
public GenericProjectionIndexer(ReteContainer reteContainer, TupleMask mask)
protected void update(Direction direction, Tuple updateElement, Tuple signature, boolean change)
IndexerWithMemory
update
in class IndexerWithMemory
public java.util.Iterator<Tuple> iterator()
iterator
in interface java.lang.Iterable<Tuple>
public java.lang.Iterable<Tuple> getSignatures()
IterableIndexer
getSignatures
in interface IterableIndexer
public int getBucketCount()
getBucketCount
in interface IterableIndexer
public Receiver getActiveNode()
Indexer
getActiveNode
in interface Indexer