public abstract class NullIndexer extends SpecializedProjectionIndexer
SpecializedProjectionIndexer.ListenerSubscription
Modifier and Type | Field and Description |
---|---|
protected static java.util.Collection<Tuple> |
emptySet |
protected static Tuple |
nullSignature |
protected static java.util.Collection<Tuple> |
nullSingleton |
activeNode, sharedSubscriptionList
mask, originalListeners, parent, proxyListeners
nodeId, reteContainer, tag, traceInfos
Constructor and Description |
---|
NullIndexer(ReteContainer reteContainer,
int tupleWidth,
Supplier parent,
Node activeNode,
java.util.List<SpecializedProjectionIndexer.ListenerSubscription> sharedSubscriptionList) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Tuple> |
get(Tuple signature) |
int |
getBucketCount() |
java.util.Collection<Tuple> |
getSignatures()
A view consisting of exactly those signatures whose tuple group is not empty
|
protected abstract java.util.Collection<Tuple> |
getTuples() |
protected boolean |
isEmpty() |
protected boolean |
isSingleElement() |
java.util.Iterator<Tuple> |
iterator() |
void |
propagateToListener(IndexerListener listener,
Direction direction,
Tuple updateElement,
Timestamp timestamp) |
attachListener, detachListener, getActiveNode, propagate
assignTraceInfo, getContainer, getListeners, getMask, getParent, networkStructureChanged, toStringCore
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getListeners, getMask, getParent, getWithTimestamp
acceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag
protected static final Tuple nullSignature
protected static final java.util.Collection<Tuple> nullSingleton
protected static final java.util.Collection<Tuple> emptySet
public NullIndexer(ReteContainer reteContainer, int tupleWidth, Supplier parent, Node activeNode, java.util.List<SpecializedProjectionIndexer.ListenerSubscription> sharedSubscriptionList)
protected abstract java.util.Collection<Tuple> getTuples()
public java.util.Collection<Tuple> get(Tuple signature)
public java.util.Collection<Tuple> getSignatures()
IterableIndexer
protected boolean isEmpty()
protected boolean isSingleElement()
public java.util.Iterator<Tuple> iterator()
public int getBucketCount()
public void propagateToListener(IndexerListener listener, Direction direction, Tuple updateElement, Timestamp timestamp)
propagateToListener
in class SpecializedProjectionIndexer