com.espertech.esper.epl.view
Class OutputStrategyPostProcess

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputStrategyPostProcess
All Implemented Interfaces:
OutputStrategy

public class OutputStrategyPostProcess
extends Object
implements OutputStrategy

An output strategy that handles routing (insert-into) and stream selection.


Constructor Summary
OutputStrategyPostProcess(boolean route, boolean routeRStream, SelectClauseStreamSelectorEnum selectStreamDirEnum, InternalEventRouter internalEventRouter, EPStatementHandle epStatementHandle)
          Ctor.
 
Method Summary
 void output(boolean forceUpdate, UniformPair<EventBean[]> result, UpdateDispatchView finalView)
          Outputs the result to the output view and following update policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStrategyPostProcess

public OutputStrategyPostProcess(boolean route,
                                 boolean routeRStream,
                                 SelectClauseStreamSelectorEnum selectStreamDirEnum,
                                 InternalEventRouter internalEventRouter,
                                 EPStatementHandle epStatementHandle)
Ctor.

Parameters:
route - true if this is insert-into
routeRStream - true if routing the remove stream events, false if routing insert stream events
selectStreamDirEnum - enumerator selecting what stream(s) are selected
internalEventRouter - for performing the route operation
epStatementHandle - for use in routing to determine which statement routed
Method Detail

output

public void output(boolean forceUpdate,
                   UniformPair<EventBean[]> result,
                   UpdateDispatchView finalView)
Description copied from interface: OutputStrategy
Outputs the result to the output view and following update policy.

Specified by:
output in interface OutputStrategy
Parameters:
forceUpdate - indicates whether output can be skipped, such as when no results collected
result - the output to indicate
finalView - the view to output to

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