Class ZeroDepthStreamIterable
java.lang.Object
com.espertech.esper.common.internal.view.core.ZeroDepthStreamIterable
- All Implemented Interfaces:
EventStream
,Viewable
,Iterable<EventBean>
- Direct Known Subclasses:
ZeroDepthStreamIterableWAudit
Event stream implementation that does not keep any window by itself of the events coming into the stream,
however is itself iterable and keeps the last event.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()
final EventType
Provides metadata information about the type of object the event collection contains.void
Insert a new event onto the stream.void
Insert new events onto the stream.iterator()
Allows iteration through all elements in this viewable.void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ZeroDepthStreamIterable
Ctor.- Parameters:
eventType
- - type of event
-
-
Method Details
-
insert
Description copied from interface:EventStream
Insert a new event onto the stream.- Specified by:
insert
in interfaceEventStream
- Parameters:
theEvent
- to insert
-
insert
Description copied from interface:EventStream
Insert new events onto the stream.- Specified by:
insert
in interfaceEventStream
- Parameters:
events
- to insert
-
getEventType
Description copied from interface:Viewable
Provides metadata information about the type of object the event collection contains.- Specified by:
getEventType
in interfaceViewable
- Returns:
- metadata for the objects in the collection
-
iterator
Description copied from interface:Viewable
Allows iteration through all elements in this viewable. The iterator will return the elements in the collection in their natural order, or, if there is no natural ordering, in some unpredictable order. -
setChild
-
getChild
-