com.espertech.esper.view
Interface EventCollection

All Superinterfaces:
java.lang.Iterable<EventBean>
All Known Subinterfaces:
DataWindowView, DerivedValueView, EventStream, GroupByView, HistoricalEventViewable, MergeViewMarker, UpdateDispatchView, View, Viewable
All Known Implementing Classes:
AddPropertyValueView, BaseBivariateStatisticsView, BufferView, ContextMergeView, ContextMergeViewForwarding, CorrelationView, CreateVariableView, DatabasePollingViewable, EPLSelectUpdateDispatchView, EPLSelectViewable, EventRowRegexNFAView, ExpressionBatchView, ExpressionViewBase, ExpressionWindowView, ExternallyTimedBatchView, ExternallyTimedWindowView, FilterExprView, FirstElementView, FirstLengthWindowView, FirstTimeView, FirstUniqueByPropertyView, GroupByViewImpl, GroupByViewReclaimAged, InternalRoutePreprocessView, IntersectAsymetricView, IntersectBatchView, IntersectView, KeepAllView, LastElementView, LastPostObserverView, LengthBatchView, LengthBatchViewRStream, LengthWindowView, LengthWindowViewRStream, MergeView, MethodPollingViewable, NamedWindowConsumerView, NamedWindowOnDeleteView, NamedWindowOnExprBaseView, NamedWindowOnMergeView, NamedWindowOnSelectView, NamedWindowOnUpdateView, NamedWindowRootViewInstance, NamedWindowTailViewInstance, OnSetVariableView, OutputProcessViewBase, OutputProcessViewBaseCallback, OutputProcessViewBaseWAfter, OutputProcessViewConditionDefault, OutputProcessViewConditionDefaultPostProcess, OutputProcessViewConditionFirst, OutputProcessViewConditionFirstPostProcess, OutputProcessViewConditionSnapshot, OutputProcessViewConditionSnapshotPostProcess, OutputProcessViewDirect, OutputProcessViewDirectDistinctOrAfter, OutputProcessViewDirectDistinctOrAfterPostProcess, OutputProcessViewDirectPostProcess, PatternRemoveDispatchView, PriorEventView, RankWindowView, RegressionLinestView, RouteResultView, SingleStreamDispatchView, SizeView, SortWindowView, SubselectAggregatorViewBase, SubselectAggregatorViewFilteredGrouped, SubselectAggregatorViewFilteredUngrouped, SubselectAggregatorViewUnfilteredGrouped, SubselectAggregatorViewUnfilteredUngrouped, TableOnDeleteView, TableOnMergeView, TableOnSelectView, TableOnUpdateView, TableOnViewBase, TableStateViewableInternal, TableStateViewablePublic, TimeAccumView, TimeAccumViewRStream, TimeBatchView, TimeBatchViewRStream, TimeLengthBatchView, TimeOrderView, TimeWindowView, UnionAsymetricView, UnionView, UniqueByPropertyView, UnivariateStatisticsView, UpdateDispatchViewBase, UpdateDispatchViewBlockingSpin, UpdateDispatchViewBlockingWait, UpdateDispatchViewNonBlocking, ViewableDefaultImpl, ViewSupport, VirtualDWViewImpl, WeightedAverageView, ZeroDepthStreamIterable, ZeroDepthStreamNoIterate

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.
 

Method Detail

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.

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