Class UnindexedEventTable

java.lang.Object
com.espertech.esper.common.internal.epl.index.unindexed.UnindexedEventTable
All Implemented Interfaces:
EventTable, Iterable<EventBean>
Direct Known Subclasses:
UnindexedEventTableImpl

public abstract class UnindexedEventTable extends Object implements EventTable
Simple table of events without an index.
  • Constructor Details

    • UnindexedEventTable

      public UnindexedEventTable(int streamNum)
      Ctor.
      Parameters:
      streamNum - is the indexed stream's number
  • Method Details

    • getEventSet

      public abstract Set<EventBean> getEventSet()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toQueryPlan

      public String toQueryPlan()
      Specified by:
      toQueryPlan in interface EventTable
    • getNumKeys

      public int getNumKeys()
      Description copied from interface: EventTable
      If the index retains events using some key-based organization this returns the number of keys, and may return -1 to indicate that either the number of keys is not available or costly to obtain.

      The number returned can be an estimate and may not be accurate.

      Specified by:
      getNumKeys in interface EventTable
      Returns:
      number of keys
    • getOrganization

      public EventTableOrganization getOrganization()
      Specified by:
      getOrganization in interface EventTable