Class EPStatementSourceOp
java.lang.Object
com.espertech.esper.runtime.internal.dataflow.op.epstatementsource.EPStatementSourceOp
- All Implemented Interfaces:
com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOperator
,com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOperatorLifecycle
,com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowSourceOperator
,DeploymentStateListener
public class EPStatementSourceOp
extends Object
implements com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowSourceOperator, com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOperatorLifecycle, DeploymentStateListener
-
Constructor Summary
ConstructorDescriptionEPStatementSourceOp
(EPStatementSourceFactory factory, com.espertech.esper.common.internal.context.util.AgentInstanceContext agentInstanceContext, String statementDeploymentId, String statementName, com.espertech.esper.common.client.dataflow.core.EPDataFlowEPStatementFilter statementFilter, com.espertech.esper.common.client.dataflow.core.EPDataFlowIRStreamCollector collector) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpCloseContext openContext) void
next()
void
Called when a deployment completedvoid
Called when an undeployment completedvoid
open
(com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpOpenContext openContext)
-
Constructor Details
-
EPStatementSourceOp
public EPStatementSourceOp(EPStatementSourceFactory factory, com.espertech.esper.common.internal.context.util.AgentInstanceContext agentInstanceContext, String statementDeploymentId, String statementName, com.espertech.esper.common.client.dataflow.core.EPDataFlowEPStatementFilter statementFilter, com.espertech.esper.common.client.dataflow.core.EPDataFlowIRStreamCollector collector)
-
-
Method Details
-
next
- Specified by:
next
in interfacecom.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowSourceOperator
- Throws:
InterruptedException
-
open
public void open(com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpOpenContext openContext) - Specified by:
open
in interfacecom.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOperatorLifecycle
-
onDeployment
Description copied from interface:DeploymentStateListener
Called when a deployment completed- Specified by:
onDeployment
in interfaceDeploymentStateListener
- Parameters:
event
- deployment information
-
onUndeployment
Description copied from interface:DeploymentStateListener
Called when an undeployment completed- Specified by:
onUndeployment
in interfaceDeploymentStateListener
- Parameters:
event
- undeployment information
-
close
public void close(com.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOpCloseContext openContext) - Specified by:
close
in interfacecom.espertech.esper.common.internal.epl.dataflow.interfaces.DataFlowOperatorLifecycle
-