Class UnindexedEventTable
java.lang.Object
com.espertech.esper.common.internal.epl.index.unindexed.UnindexedEventTable
- All Implemented Interfaces:
EventTable
,Iterable<EventBean>
- Direct Known Subclasses:
UnindexedEventTableImpl
Simple table of events without an index.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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.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.common.internal.epl.index.base.EventTable
add, add, addRemove, clear, destroy, getIndex, getNumberOfEvents, getProviderClass, isEmpty, iterator, remove, remove
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
UnindexedEventTable
public UnindexedEventTable(int streamNum) Ctor.- Parameters:
streamNum
- is the indexed stream's number
-
-
Method Details
-
getEventSet
-
toString
-
toQueryPlan
- Specified by:
toQueryPlan
in interfaceEventTable
-
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 interfaceEventTable
- Returns:
- number of keys
-
getOrganization
- Specified by:
getOrganization
in interfaceEventTable
-