start
EPStatementStartResult start(EPServicesContext services,
StatementContext statementContext,
boolean isNewStatement,
boolean isRecoveringStatement,
boolean isRecoveringResilient)
throws ExprValidationException,
ViewProcessingException
Starts the EPL statement.
- Parameters:
statementContext
- statement level services
isNewStatement
- indicator whether the statement is new or a stop-restart statement
isRecoveringStatement
- true to indicate the statement is in the process of being recovered
isRecoveringResilient
- 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
services
- services
- Returns:
- a viewable to attach to for listening to events, and a stop method to invoke to clean up
- Throws:
ExprValidationException
- validation exception
ViewProcessingException
- when views cannot be started