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.


Method Summary
 StatementSpecCompiled getStatementSpec()
           
 EPStatementStartResult start(EPServicesContext services, StatementContext statementContext, boolean isNewStatement, boolean isRecoveringStatement, boolean isRecoveringResilient)
          Starts the EPL statement.
 

Method Detail

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
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()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com