com.espertech.esper.epl.view
Class OutputProcessViewConditionFirstPostProcess

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputProcessViewBase
      extended by com.espertech.esper.epl.view.OutputProcessViewBaseWAfter
          extended by com.espertech.esper.epl.view.OutputProcessViewConditionFirst
              extended by com.espertech.esper.epl.view.OutputProcessViewConditionFirstPostProcess
All Implemented Interfaces:
JoinSetIndicator, JoinSetProcessor, OutputProcessViewTerminable, EventCollection, View, Viewable, java.lang.Iterable<EventBean>

public class OutputProcessViewConditionFirstPostProcess
extends OutputProcessViewConditionFirst

Handles output rate limiting for FIRST, only applicable with a having-clause and no group-by clause.

Without having-clause the order of processing won't matter therefore its handled by the OutputProcessViewConditionDefault. With group-by the ResultSetProcessor handles the per-group first criteria.


Field Summary
 
Fields inherited from class com.espertech.esper.epl.view.OutputProcessViewBaseWAfter
isAfterConditionSatisfied
 
Fields inherited from class com.espertech.esper.epl.view.OutputProcessViewBase
childView, joinExecutionStrategy, parentView, resultSetProcessor
 
Constructor Summary
OutputProcessViewConditionFirstPostProcess(ResultSetProcessor resultSetProcessor, java.lang.Long afterConditionTime, java.lang.Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied, OutputProcessViewConditionFactory parent, AgentInstanceContext agentInstanceContext, OutputStrategyPostProcess postProcessor)
           
 
Method Summary
 void output(boolean forceUpdate, UniformPair<EventBean[]> results)
           
 
Methods inherited from class com.espertech.esper.epl.view.OutputProcessViewConditionFirst
continueOutputProcessingJoin, continueOutputProcessingView, iterator, process, terminated, update
 
Methods inherited from class com.espertech.esper.epl.view.OutputProcessViewBaseWAfter
checkAfterCondition, checkAfterCondition, checkAfterCondition
 
Methods inherited from class com.espertech.esper.epl.view.OutputProcessViewBase
addView, getEventType, getParent, getViews, hasViews, removeAllViews, removeView, setJoinExecutionStrategy, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputProcessViewConditionFirstPostProcess

public OutputProcessViewConditionFirstPostProcess(ResultSetProcessor resultSetProcessor,
                                                  java.lang.Long afterConditionTime,
                                                  java.lang.Integer afterConditionNumberOfEvents,
                                                  boolean afterConditionSatisfied,
                                                  OutputProcessViewConditionFactory parent,
                                                  AgentInstanceContext agentInstanceContext,
                                                  OutputStrategyPostProcess postProcessor)
Method Detail

output

public void output(boolean forceUpdate,
                   UniformPair<EventBean[]> results)

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com