com.espertech.esper.epl.join.table
Class UnindexedEventTable

java.lang.Object
  extended by com.espertech.esper.epl.join.table.UnindexedEventTable
All Implemented Interfaces:
EventTable, java.lang.Iterable<EventBean>
Direct Known Subclasses:
UnindexedEventTableImpl

public abstract class UnindexedEventTable
extends java.lang.Object
implements EventTable

Simple table of events without an index.


Constructor Summary
UnindexedEventTable(int streamNum)
          Ctor.
 
Method Summary
abstract  java.util.Set<EventBean> getEventSet()
           
 int getNumKeys()
          If the index retains events using some key-based organization this returns the number of keys, and may return null to indicate that either the number of keys is not available or costly to obtain.
 EventTableOrganization getOrganization()
           
 java.lang.String toQueryPlan()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.join.table.EventTable
add, add, addRemove, clear, destroy, getIndex, getNumberOfEvents, getProviderClass, isEmpty, iterator, remove, remove
 

Constructor Detail

UnindexedEventTable

public UnindexedEventTable(int streamNum)
Ctor.

Parameters:
streamNum - is the indexed stream's number
Method Detail

getEventSet

public abstract java.util.Set<EventBean> getEventSet()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toQueryPlan

public java.lang.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 null 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 events

getOrganization

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

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com