com.espertech.esper.epl.view
Class OutputStrategySimple
java.lang.Object
com.espertech.esper.epl.view.OutputStrategySimple
- All Implemented Interfaces:
- OutputStrategy
public class OutputStrategySimple
- extends Object
- implements OutputStrategy
An output strategy that outputs if there are results of if
the force-update flag is set.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStrategySimple
public OutputStrategySimple()
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 collectedresult
- the output to indicatefinalView
- the view to output to