public class GenericProjectionIndexer extends IndexerWithMemory implements ProjectionIndexer
IndexerWithMemory.NetworkStructureChangeSensitiveLogic
group, logic, mailbox, memory
mask, parent
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.Map<Tuple,Timeline<Timestamp>> |
getTimeline(Tuple signature) |
java.util.Iterator<Tuple> |
iterator() |
protected void |
update(Direction direction,
Tuple updateElement,
Tuple signature,
boolean change,
Timestamp timestamp)
Refined version of update
|
appendParent, createLogic, getCurrentGroup, getMailbox, getMemory, getParents, getResumableTimestamp, instantiateMailbox, networkStructureChanged, removeParent, resumeAt, setCurrentGroup, 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, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
public GenericProjectionIndexer(ReteContainer reteContainer, TupleMask mask)
protected void update(Direction direction, Tuple updateElement, Tuple signature, boolean change, Timestamp timestamp)
IndexerWithMemory
update
in class IndexerWithMemory
public java.util.Map<Tuple,Timeline<Timestamp>> getTimeline(Tuple signature)
getTimeline
in interface Indexer
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