public abstract class EPStatementStartMethodBase extends Object implements EPStatementStartMethod
Modifier and Type | Field and Description |
---|---|
protected StatementSpecCompiled |
statementSpec |
DEFAULT_AGENT_INSTANCE_ID
Modifier | Constructor and Description |
---|---|
protected |
EPStatementStartMethodBase(StatementSpecCompiled statementSpec) |
Modifier and Type | Method and Description |
---|---|
protected AgentInstanceContext |
getDefaultAgentInstanceContext(StatementContext statementContext) |
protected EPStatementAgentInstanceHandle |
getDefaultAgentInstanceHandle(StatementContext statementContext) |
StatementSpecCompiled |
getStatementSpec() |
protected boolean |
isQueryPlanLogging(EPServicesContext services) |
EPStatementStartResult |
start(EPServicesContext services,
StatementContext statementContext,
boolean isNewStatement,
boolean isRecoveringStatement,
boolean isRecoveringResilient)
Starts the EPL statement.
|
abstract EPStatementStartResult |
startInternal(EPServicesContext services,
StatementContext statementContext,
boolean isNewStatement,
boolean isRecoveringStatement,
boolean isRecoveringResilient) |
protected final StatementSpecCompiled statementSpec
protected EPStatementStartMethodBase(StatementSpecCompiled statementSpec)
public StatementSpecCompiled getStatementSpec()
getStatementSpec
in interface EPStatementStartMethod
public abstract EPStatementStartResult startInternal(EPServicesContext services, StatementContext statementContext, boolean isNewStatement, boolean isRecoveringStatement, boolean isRecoveringResilient) throws ExprValidationException, ViewProcessingException
public EPStatementStartResult start(EPServicesContext services, StatementContext statementContext, boolean isNewStatement, boolean isRecoveringStatement, boolean isRecoveringResilient) throws ExprValidationException, ViewProcessingException
EPStatementStartMethod
start
in interface EPStatementStartMethod
services
- servicesstatementContext
- statement level servicesisNewStatement
- indicator whether the statement is new or a stop-restart statementisRecoveringStatement
- true to indicate the statement is in the process of being recoveredisRecoveringResilient
- true to indicate the statement is in the process of being recovered and that statement is resilient @throws com.espertech.esper.epl.expression.ExprValidationException when the expression validation failsExprValidationException
- validation exceptionViewProcessingException
- when views cannot be startedprotected EPStatementAgentInstanceHandle getDefaultAgentInstanceHandle(StatementContext statementContext) throws ExprValidationException
ExprValidationException
protected AgentInstanceContext getDefaultAgentInstanceContext(StatementContext statementContext) throws ExprValidationException
ExprValidationException
protected boolean isQueryPlanLogging(EPServicesContext services)