Class OutputProcessViewBaseWAfter
java.lang.Object
com.espertech.esper.common.internal.epl.output.core.OutputProcessView
com.espertech.esper.common.internal.epl.output.view.OutputProcessViewBaseWAfter
- All Implemented Interfaces:
AgentInstanceMgmtCallback
,JoinSetIndicator
,JoinSetProcessor
,OutputProcessViewTerminable
,OutputProcessViewWithAfter
,View
,Viewable
,Iterable<EventBean>
- Direct Known Subclasses:
OutputProcessViewConditionDefault
,OutputProcessViewConditionFirst
,OutputProcessViewConditionLastAllUnord
,OutputProcessViewConditionSnapshot
,OutputProcessViewDirectDistinctOrAfter
public abstract class OutputProcessViewBaseWAfter
extends OutputProcessView
implements OutputProcessViewWithAfter
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AgentInstanceContext
protected final ResultSetProcessor
Fields inherited from class com.espertech.esper.common.internal.epl.output.core.OutputProcessView
child, EPTYPE, joinExecutionStrategy, parentView
Fields inherited from interface com.espertech.esper.common.internal.context.util.AgentInstanceMgmtCallback
INSTANCE_NO_ACTION
-
Constructor Summary
ModifierConstructorDescriptionprotected
OutputProcessViewBaseWAfter
(AgentInstanceContext agentInstanceContext, ResultSetProcessor resultSetProcessor, Long afterConditionTime, Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied) -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkAfterCondition
(EventBean[] newEvents, StatementContext statementContext) Returns true if the after-condition is satisfied.boolean
checkAfterCondition
(UniformPair<EventBean[]> newOldEvents, StatementContext statementContext) Returns true if the after-condition is satisfied.boolean
checkAfterCondition
(Set<MultiKeyArrayOfKeys<EventBean>> newEvents, StatementContext statementContext) Returns true if the after-condition is satisfied.Provides metadata information about the type of object the event collection contains.void
stop
(AgentInstanceStopServices services) Methods inherited from class com.espertech.esper.common.internal.epl.output.core.OutputProcessView
getChild, getNumChangesetRows, getOptionalOutputCondition, getParent, setChild, 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.common.internal.context.util.AgentInstanceMgmtCallback
transfer
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.espertech.esper.common.internal.epl.join.base.JoinSetProcessor
process
Methods inherited from interface com.espertech.esper.common.internal.epl.output.core.OutputProcessViewTerminable
terminated
-
Field Details
-
agentInstanceContext
-
resultSetProcessor
-
-
Constructor Details
-
OutputProcessViewBaseWAfter
protected OutputProcessViewBaseWAfter(AgentInstanceContext agentInstanceContext, ResultSetProcessor resultSetProcessor, Long afterConditionTime, Integer afterConditionNumberOfEvents, boolean afterConditionSatisfied)
-
-
Method Details
-
getOptionalAfterConditionState
- Specified by:
getOptionalAfterConditionState
in interfaceOutputProcessViewWithAfter
-
getEventType
Description copied from interface:Viewable
Provides metadata information about the type of object the event collection contains.- Specified by:
getEventType
in interfaceViewable
- Returns:
- metadata for the objects in the collection
-
checkAfterCondition
Returns true if the after-condition is satisfied.- Parameters:
newEvents
- is the view new eventsstatementContext
- context- Returns:
- indicator for output condition
-
checkAfterCondition
public boolean checkAfterCondition(Set<MultiKeyArrayOfKeys<EventBean>> newEvents, StatementContext statementContext) Returns true if the after-condition is satisfied.- Parameters:
newEvents
- is the join new eventsstatementContext
- context- 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 pairstatementContext
- context- Returns:
- indicator for output condition
-
stop
- Specified by:
stop
in interfaceAgentInstanceMgmtCallback
-