com.espertech.esper.epl.view
Class OutputProcessViewBaseWAfter
java.lang.Object
com.espertech.esper.epl.view.OutputProcessViewBase
com.espertech.esper.epl.view.OutputProcessViewBaseWAfter
- All Implemented Interfaces:
- JoinSetIndicator, JoinSetProcessor, OutputProcessViewTerminable, StopCallback, EventCollection, View, Viewable, java.lang.Iterable<EventBean>
- Direct Known Subclasses:
- OutputProcessViewConditionDefault, OutputProcessViewConditionFirst, OutputProcessViewConditionLastAllUnord, OutputProcessViewConditionSnapshot, OutputProcessViewDirectDistinctOrAfter
public abstract class OutputProcessViewBaseWAfter
- extends OutputProcessViewBase
Methods inherited from class com.espertech.esper.epl.view.OutputProcessViewBase |
addView, getEventType, getNumChangesetRows, getOptionalOutputCondition, 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 |
Methods inherited from interface com.espertech.esper.view.View |
update |
OutputProcessViewBaseWAfter
protected OutputProcessViewBaseWAfter(ResultSetProcessorHelperFactory resultSetProcessorHelperFactory,
AgentInstanceContext agentInstanceContext,
ResultSetProcessor resultSetProcessor,
java.lang.Long afterConditionTime,
java.lang.Integer afterConditionNumberOfEvents,
boolean afterConditionSatisfied)
checkAfterCondition
public boolean checkAfterCondition(EventBean[] newEvents,
StatementContext statementContext)
- Returns true if the after-condition is satisfied.
- Parameters:
newEvents
- is the view new events
- Returns:
- indicator for output condition
checkAfterCondition
public boolean checkAfterCondition(java.util.Set<MultiKey<EventBean>> newEvents,
StatementContext statementContext)
- Returns true if the after-condition is satisfied.
- Parameters:
newEvents
- is the join new events
- Returns:
- indicator for output condition
checkAfterCondition
public boolean checkAfterCondition(UniformPair<EventBean[]> newOldEvents,
StatementContext statementContext)
- Returns true if the after-condition is satisfied.
- Parameters:
newOldEvents
- is the new and old events pair
- Returns:
- indicator for output condition
stop
public void stop()
- Description copied from interface:
StopCallback
- Stops the underlying resources.