com.espertech.esper.epl.view
Class OutputProcessViewAfterStateImpl
java.lang.Object
com.espertech.esper.epl.view.OutputProcessViewAfterStateImpl
- All Implemented Interfaces:
- OutputProcessViewAfterState
public class OutputProcessViewAfterStateImpl
- extends java.lang.Object
- implements OutputProcessViewAfterState
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isAfterConditionSatisfied
protected boolean isAfterConditionSatisfied
OutputProcessViewAfterStateImpl
public OutputProcessViewAfterStateImpl(java.lang.Long afterConditionTime,
java.lang.Integer afterConditionNumberOfEvents)
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