|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ZeroDepthStreamNoIterate
public final class ZeroDepthStreamNoIterate
Event stream implementation that does not keep any window by itself of the events coming into the stream, without the possibility to iterate the last event.
Constructor Summary | |
---|---|
ZeroDepthStreamNoIterate(EventType eventType)
Ctor. |
Method Summary | |
---|---|
View |
addView(View view)
Add a view to the viewable object. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
View[] |
getViews()
Returns all added views. |
boolean |
hasViews()
Test is there are any views to the Viewable. |
void |
insert(EventBean theEvent)
Insert a new event onto the stream. |
void |
insert(EventBean[] events)
Insert new events onto the stream. |
java.util.Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
void |
removeAllViews()
Remove all views. |
boolean |
removeView(View view)
Remove a view. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZeroDepthStreamNoIterate(EventType eventType)
eventType
- - type of eventMethod Detail |
---|
public void insert(EventBean[] events)
EventStream
insert
in interface EventStream
events
- to insertpublic final void insert(EventBean theEvent)
EventStream
insert
in interface EventStream
theEvent
- to insertpublic final EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public final java.util.Iterator<EventBean> iterator()
EventCollection
iterator
in interface EventCollection
iterator
in interface java.lang.Iterable<EventBean>
public final View addView(View view)
Viewable
addView
in interface Viewable
view
- to add
public final View[] getViews()
Viewable
getViews
in interface Viewable
public final boolean removeView(View view)
Viewable
removeView
in interface Viewable
view
- to remove
public final boolean hasViews()
Viewable
hasViews
in interface Viewable
public void removeAllViews()
Viewable
removeAllViews
in interface Viewable
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |