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.


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

Field Detail

DEFAULT_AGENT_INSTANCE_ID

static final int DEFAULT_AGENT_INSTANCE_ID
See Also:
Constant Field Values
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-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com