net.esper.view
Interface EventCollection
- All Superinterfaces:
- java.lang.Iterable<EventBean>
- All Known Subinterfaces:
- DataWindowView, EventStream, OrderedEventCollection, StreamView, View, Viewable
- All Known Implementing Classes:
- AddPropertyValueView, BaseBivariateStatisticsView, BufferView, CorrelationView, ExternallyTimedWindowView, FilterExprView, GroupByView, InternalRouteView, LastElementView, LengthWindowView, MergeView, MultiDimStatsView, OutputProcessView, RegressionLinestView, SizeView, SortWindowView, TimeBatchView, TimeWindowView, UniqueByPropertyView, UnivariateStatisticsView, UpdateDispatchView, ViewSupport, WeightedAverageView, ZeroDepthStream
public interface EventCollection
- extends java.lang.Iterable<EventBean>
Interface that marks an event collection.
Every event in the event collection must be of the same event type, as defined by the getEventType() call.
Method Summary |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
getEventType
EventType getEventType()
- Provides metadata information about the type of object the event collection contains.
- Returns:
- metadata for the objects in the collection
iterator
java.util.Iterator<EventBean> iterator()
- Allows iteration through all elements in this event collection.
The iterator will return the elements in the collection in their natural order, or,
if there is no natural ordering, in some unpredictable order.
- Specified by:
iterator
in interface java.lang.Iterable<EventBean>
- Returns:
- an iterator which will go through all current elements in the collection.