com.espertech.esper.core.service
Interface StatementContextFactory

All Known Implementing Classes:
StatementContextFactoryDefault

public interface StatementContextFactory

Interface for a factory class that makes statement context specific to a statement.


Method Summary
 StatementContext makeContext(java.lang.String statementId, java.lang.String statementName, java.lang.String expression, StatementType statementType, EPServicesContext engineServices, java.util.Map<java.lang.String,java.lang.Object> optAdditionalContext, boolean isFireAndForget, java.lang.annotation.Annotation[] annotations, EPIsolationUnitServices isolationUnitServices, boolean stateless, StatementSpecRaw statementSpecRaw, java.util.List<ExprSubselectNode> subselectNodes, boolean writesToTables, java.lang.Object statementUserObject)
          Create a new statement context consisting of statement-level services.
 void setStmtEngineServices(EPServicesContext services)
           
 

Method Detail

setStmtEngineServices

void setStmtEngineServices(EPServicesContext services)

makeContext

StatementContext makeContext(java.lang.String statementId,
                             java.lang.String statementName,
                             java.lang.String expression,
                             StatementType statementType,
                             EPServicesContext engineServices,
                             java.util.Map<java.lang.String,java.lang.Object> optAdditionalContext,
                             boolean isFireAndForget,
                             java.lang.annotation.Annotation[] annotations,
                             EPIsolationUnitServices isolationUnitServices,
                             boolean stateless,
                             StatementSpecRaw statementSpecRaw,
                             java.util.List<ExprSubselectNode> subselectNodes,
                             boolean writesToTables,
                             java.lang.Object statementUserObject)
Create a new statement context consisting of statement-level services.

Parameters:
statementId - is the statement is
statementName - is the statement name
expression - is the statement expression
engineServices - is engine services
optAdditionalContext - addtional context to pass to the statement
isFireAndForget - if the statement context is for a fire-and-forget statement
annotations - statement annotations
isolationUnitServices - for isolation units
subselectNodes -
Returns:
statement context

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