net.esper.eql.view
Class OutputProcessViewDirect

java.lang.Object
  extended by net.esper.view.ViewSupport
      extended by net.esper.eql.view.OutputProcessView
          extended by net.esper.eql.view.OutputProcessViewDirect
All Implemented Interfaces:
Iterable<EventBean>, JoinSetIndicator, JoinSetProcessor, EventCollection, View, Viewable

public class OutputProcessViewDirect
extends OutputProcessView

Output process view that does not enforce any output policies and may simply hand over events to child views.


Field Summary
 
Fields inherited from class net.esper.eql.view.OutputProcessView
resultSetProcessor
 
Fields inherited from class net.esper.view.ViewSupport
parent
 
Constructor Summary
OutputProcessViewDirect(ResultSetProcessor resultSetProcessor)
          Ctor.
 
Method Summary
 void process(Set<MultiKey<EventBean>> newEvents, Set<MultiKey<EventBean>> oldEvents)
          This process (update) method is for participation in a join.
 void update(EventBean[] newData, EventBean[] oldData)
          The update method is called if the view does not participate in a join.
 
Methods inherited from class net.esper.eql.view.OutputProcessView
getEventType, iterator, setJoinExecutionStrategy
 
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
 

Constructor Detail

OutputProcessViewDirect

public OutputProcessViewDirect(ResultSetProcessor resultSetProcessor)
Ctor.

Parameters:
resultSetProcessor - is processing the result set for publishing it out
Method Detail

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 events
oldData - - 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 events
oldEvents - - old events

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com