com.espertech.esper.epl.view
Class OutputProcessViewAfterStateImpl

java.lang.Object
  extended by com.espertech.esper.epl.view.OutputProcessViewAfterStateImpl
All Implemented Interfaces:
OutputProcessViewAfterState

public class OutputProcessViewAfterStateImpl
extends java.lang.Object
implements OutputProcessViewAfterState


Field Summary
protected  boolean isAfterConditionSatisfied
           
 
Constructor Summary
OutputProcessViewAfterStateImpl(java.lang.Long afterConditionTime, java.lang.Integer afterConditionNumberOfEvents)
           
 
Method Summary
 boolean checkUpdateAfterCondition(EventBean[] newEvents, StatementContext statementContext)
          Returns true if the after-condition is satisfied.
 boolean checkUpdateAfterCondition(java.util.Set<MultiKey<EventBean>> newEvents, StatementContext statementContext)
          Returns true if the after-condition is satisfied.
 boolean checkUpdateAfterCondition(UniformPair<EventBean[]> newOldEvents, StatementContext statementContext)
          Returns true if the after-condition is satisfied.
 void destroy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isAfterConditionSatisfied

protected boolean isAfterConditionSatisfied
Constructor Detail

OutputProcessViewAfterStateImpl

public OutputProcessViewAfterStateImpl(java.lang.Long afterConditionTime,
                                       java.lang.Integer afterConditionNumberOfEvents)
Method Detail

checkUpdateAfterCondition

public boolean checkUpdateAfterCondition(EventBean[] newEvents,
                                         StatementContext statementContext)
Returns true if the after-condition is satisfied.

Specified by:
checkUpdateAfterCondition in interface OutputProcessViewAfterState
Parameters:
newEvents - is the view new events
Returns:
indicator for output condition

checkUpdateAfterCondition

public boolean checkUpdateAfterCondition(java.util.Set<MultiKey<EventBean>> newEvents,
                                         StatementContext statementContext)
Returns true if the after-condition is satisfied.

Specified by:
checkUpdateAfterCondition in interface OutputProcessViewAfterState
Parameters:
newEvents - is the join new events
Returns:
indicator for output condition

checkUpdateAfterCondition

public boolean checkUpdateAfterCondition(UniformPair<EventBean[]> newOldEvents,
                                         StatementContext statementContext)
Returns true if the after-condition is satisfied.

Specified by:
checkUpdateAfterCondition in interface OutputProcessViewAfterState
Parameters:
newOldEvents - is the new and old events pair
Returns:
indicator for output condition

destroy

public void destroy()
Specified by:
destroy in interface OutputProcessViewAfterState

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