public class GenericProjectionIndexer extends IndexerWithMemory implements ProjectionIndexer
IndexerWithMemory.NetworkStructureChangeSensitiveLogicgroup, logic, mailbox, memorymask, parentnodeId, 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, updateassignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent, propagate, toStringCoreacceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitattachListener, detachListener, getListeners, getMask, getParentacceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagbatchUpdatepublic GenericProjectionIndexer(ReteContainer reteContainer, TupleMask mask)
protected void update(Direction direction, Tuple updateElement, Tuple signature, boolean change, Timestamp timestamp)
IndexerWithMemoryupdate in class IndexerWithMemorypublic java.util.Map<Tuple,Timeline<Timestamp>> getTimeline(Tuple signature)
getTimeline in interface Indexerpublic java.util.Iterator<Tuple> iterator()
iterator in interface java.lang.Iterable<Tuple>public java.lang.Iterable<Tuple> getSignatures()
IterableIndexergetSignatures in interface IterableIndexerpublic int getBucketCount()
getBucketCount in interface IterableIndexerpublic Receiver getActiveNode()
IndexergetActiveNode in interface Indexer