|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.view.ZeroDepthStream
public final class ZeroDepthStream
Event stream implementation that does not keep any window by itself of the events coming into the stream.
Constructor Summary | |
---|---|
ZeroDepthStream(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. |
List<View> |
getViews()
Returns all added views. |
boolean |
hasViews()
Test is there are any views to the Viewable. |
void |
insert(EventBean event)
Insert a new event onto the stream. |
Iterator<EventBean> |
iterator()
Allows iteration through all elements in this event collection. |
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 ZeroDepthStream(EventType eventType)
eventType
- - type of eventMethod Detail |
---|
public final void insert(EventBean event)
EventStream
insert
in interface EventStream
event
- to insertpublic final EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public final Iterator<EventBean> iterator()
EventCollection
iterator
in interface Iterable<EventBean>
iterator
in interface EventCollection
public final View addView(View view)
Viewable
addView
in interface Viewable
view
- to add
public final List<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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |