Class OnetimeIndexer
java.lang.Object
tools.refinery.interpreter.rete.network.BaseNode
tools.refinery.interpreter.rete.index.StandardIndexer
tools.refinery.interpreter.rete.index.IndexerWithMemory
tools.refinery.interpreter.rete.index.GenericProjectionIndexer
tools.refinery.interpreter.rete.index.OnetimeIndexer
- All Implemented Interfaces:
Iterable<Tuple>, Indexer, IterableIndexer, ProjectionIndexer, ResumableNode, IGroupable, NetworkStructureChangeSensitiveNode, Node, Receiver
-
Nested Class Summary
Nested classes/interfaces inherited from class IndexerWithMemory
IndexerWithMemory.NetworkStructureChangeSensitiveLogic -
Field Summary
Fields inherited from class IndexerWithMemory
group, logic, mailbox, memoryFields inherited from class StandardIndexer
mask, parentFields inherited from class BaseNode
nodeId, reteContainer, tag, traceInfos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendParent(Supplier supplier) appends a parent that will continuously send insert and revoke updates to this suppliervoidattachListener(IndexerListener listener) Methods inherited from class GenericProjectionIndexer
getActiveNode, getBucketCount, getSignatures, getTimeline, iterator, updateMethods inherited from class IndexerWithMemory
createLogic, getCurrentGroup, getMailbox, getMemory, getParents, getResumableTimestamp, instantiateMailbox, networkStructureChanged, removeParent, resumeAt, setCurrentGroup, updateMethods inherited from class StandardIndexer
assignTraceInfo, detachListener, getContainer, getListeners, getMask, getParent, propagate, toStringCoreMethods inherited from class BaseNode
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Indexer
detachListener, getListeners, getMask, getParentMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Node
acceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTagMethods inherited from interface Receiver
batchUpdate
-
Constructor Details
-
OnetimeIndexer
-
-
Method Details
-
get
- Specified by:
getin interfaceIndexer- Overrides:
getin classGenericProjectionIndexer- Returns:
- all stored tuples that conform to the specified signature, null if there are none such. CONTRACT: do not modify!
-
appendParent
Description copied from interface:Receiverappends a parent that will continuously send insert and revoke updates to this supplier- Specified by:
appendParentin interfaceReceiver- Overrides:
appendParentin classIndexerWithMemory
-
attachListener
- Specified by:
attachListenerin interfaceIndexer- Overrides:
attachListenerin classStandardIndexer
-