com.espertech.esper.core.start
Interface EPStatementStartMethod
- All Known Implementing Classes:
- EPStatementStartMethodBase, EPStatementStartMethodCreateContext, EPStatementStartMethodCreateExpression, EPStatementStartMethodCreateGraph, EPStatementStartMethodCreateIndex, EPStatementStartMethodCreateSchema, EPStatementStartMethodCreateTable, EPStatementStartMethodCreateVariable, EPStatementStartMethodCreateWindow, EPStatementStartMethodOnTrigger, EPStatementStartMethodSelect, EPStatementStartMethodUpdate
public interface EPStatementStartMethod
Starts and provides the stop method for EPL statements.
DEFAULT_AGENT_INSTANCE_ID
static final int DEFAULT_AGENT_INSTANCE_ID
- See Also:
- Constant Field Values
start
EPStatementStartResult start(EPServicesContext services,
StatementContext statementContext,
boolean isNewStatement,
boolean isRecoveringStatement,
boolean isRecoveringResilient)
throws ExprValidationException,
ViewProcessingException
- Starts the EPL statement.
- Parameters:
statementContext
- 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 fails
- Returns:
- a viewable to attach to for listening to events, and a stop method to invoke to clean up
- Throws:
ViewProcessingException
- when views cannot be started
ExprValidationException
getStatementSpec
StatementSpecCompiled getStatementSpec()