com.espertech.esper.epl.view
Class OutputProcessViewDirect
java.lang.Object
com.espertech.esper.epl.view.OutputProcessView
com.espertech.esper.epl.view.OutputProcessViewDirect
- All Implemented Interfaces:
- JoinSetIndicator, JoinSetProcessor, EventCollection, View, Viewable, Iterable<EventBean>
public class OutputProcessViewDirect
- extends OutputProcessView
Output process view that does not enforce any output policies and may simply
hand over events to child views.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputProcessViewDirect
public OutputProcessViewDirect(ResultSetProcessor resultSetProcessor,
OutputStrategy outputStrategy,
boolean isInsertInto,
StatementResultService statementResultService)
- Ctor.
- Parameters:
resultSetProcessor
- is processing the result set for publishing it outoutputStrategy
- is the execution of output to sub-views or nativelyisInsertInto
- is true if the statement is a insert-intostatementResultService
- service for managing listener/subscribers and result generation needs
update
public void update(EventBean[] newData,
EventBean[] oldData)
- The update method is called if the view does not participate in a join.
- Parameters:
newData
- - new eventsoldData
- - old events
process
public void process(Set<MultiKey<EventBean>> newEvents,
Set<MultiKey<EventBean>> oldEvents)
- This process (update) method is for participation in a join.
- Parameters:
newEvents
- - new eventsoldEvents
- - old events