net.esper.eql.view
Class OutputProcessView
java.lang.Object
net.esper.view.ViewSupport
net.esper.eql.view.OutputProcessView
- All Implemented Interfaces:
- Iterable<EventBean>, JoinSetIndicator, JoinSetProcessor, EventCollection, View, Viewable
- Direct Known Subclasses:
- OutputProcessViewDirect, OutputProcessViewPolicy
public abstract class OutputProcessView
- extends ViewSupport
- implements JoinSetIndicator
Base output processing view that has the responsibility to serve up event type and
statement iterator.
Implementation classes may enforce an output rate stabilizing or limiting policy.
Methods inherited from class net.esper.view.ViewSupport |
addView, dumpChildViews, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, setParent, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.esper.view.View |
update |
resultSetProcessor
protected final ResultSetProcessor resultSetProcessor
- Processes the parent views result set generating events for pushing out to child view.
OutputProcessView
protected OutputProcessView(ResultSetProcessor resultSetProcessor)
- Ctor.
- Parameters:
resultSetProcessor
- processes the results posted by parent view or joins
getEventType
public EventType getEventType()
- Description copied from interface:
EventCollection
- Provides metadata information about the type of object the event collection contains.
- Specified by:
getEventType
in interface EventCollection
- Returns:
- metadata for the objects in the collection
iterator
public Iterator<EventBean> iterator()
- Description copied from interface:
EventCollection
- 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 Iterable<EventBean>
- Specified by:
iterator
in interface EventCollection
- Returns:
- an iterator which will go through all current elements in the collection.