org.eclipse.viatra.query.runtime.rete.index

## Interface IterableIndexer

- All Superinterfaces:
    Indexer, java.lang.Iterable<Tuple>, Node
  All Known Subinterfaces:
    ProjectionIndexer
  All Known Implementing Classes:
    GenericProjectionIndexer, IdentityIndexer, MemoryIdentityIndexer, MemoryNullIndexer, NullIndexer, OnetimeIndexer, SpecializedProjectionIndexer, TransitiveClosureNodeIndexer

      public interface IterableIndexer
      extends Indexer, java.lang.Iterable<Tuple>

  An indexer that allows the iteration of all retrievable tuple groups (or reduced groups).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getBucketCount()`
    `java.lang.Iterable<Tuple>` | `getSignatures()` A view consisting of exactly those signatures whose tuple group is not empty

    - ### Methods inherited from interface org.eclipse.viatra.query.runtime.rete.index.Indexer

      `attachListener, detachListener, get, getActiveNode, getListeners, getMask, getParent, getTimeline`

    - ### Methods inherited from interface org.eclipse.viatra.query.runtime.rete.network.Node

      `acceptPropagatedTraceInfo, assignTraceInfo, getCommunicationTracker, getContainer, getNodeId, getTag, getTraceInfos, setTag`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### getSignatures

          java.lang.Iterable<Tuple> getSignatures()

      A view consisting of exactly those signatures whose tuple group is not empty
      Since:
        2.0

    - #### getBucketCount

          int getBucketCount()

      Returns:
        the number of signatures whose tuple group is not empty
      Since:
        2.0