Class MemoryNullIndexer

  • All Implemented Interfaces:
    java.lang.Iterable<Tuple>, Indexer, IterableIndexer, ProjectionIndexer, NetworkStructureChangeSensitiveNode, Node

    public class MemoryNullIndexer
    extends NullIndexer
    Defines a trivial indexer that projects the contents of a memory-equipped node to the empty tuple, and can therefore save space. Can only exist in connection with a memory, and must be operated by another node. Do not attach parents directly!
    No Implement:
    Rely on the provided implementations
    No Reference:
    Use only via standard Node and Indexer interfaces
    No Instantiate:
    This class is not intended to be instantiated by clients.
    • Constructor Detail

      • MemoryNullIndexer

        public MemoryNullIndexer​(ReteContainer reteContainer,
                                 int tupleWidth,
                                 java.util.Collection<Tuple> memory,
                                 Supplier parent,
                                 Receiver activeNode,
                                 java.util.List<SpecializedProjectionIndexer.ListenerSubscription> sharedSubscriptionList)
        Parameters:
        reteContainer -
        tupleWidth - the width of the tuples of memoryNode
        memory - the memory whose contents are to be null-indexed
        parent - the parent node that owns the memory