com.espertech.esper.core
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(String statementId, String statementName, String expression, boolean hasVariables, EPServicesContext engineServices, Map<String,Object> optAdditionalContext, OnTriggerDesc optOnTriggerDesc, CreateWindowDesc optCreateWindowDesc)
          Create a new statement context consisting of statement-level services.
 

Method Detail

makeContext

StatementContext makeContext(String statementId,
                             String statementName,
                             String expression,
                             boolean hasVariables,
                             EPServicesContext engineServices,
                             Map<String,Object> optAdditionalContext,
                             OnTriggerDesc optOnTriggerDesc,
                             CreateWindowDesc optCreateWindowDesc)
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
optOnTriggerDesc - the on-delete statement descriptor for named window context creation
optCreateWindowDesc - the create-window statement descriptor for named window context creation
hasVariables - indicator whether the statement uses variables anywhere in the statement
Returns:
statement context

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com