當前位置: 首頁>>代碼示例>>Java>>正文


Java PatternContextFactory類代碼示例

本文整理匯總了Java中com.espertech.esper.pattern.PatternContextFactory的典型用法代碼示例。如果您正苦於以下問題:Java PatternContextFactory類的具體用法?Java PatternContextFactory怎麽用?Java PatternContextFactory使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


PatternContextFactory類屬於com.espertech.esper.pattern包,在下文中一共展示了PatternContextFactory類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: StatementContext

import com.espertech.esper.pattern.PatternContextFactory; //導入依賴的package包/類
public StatementContext(StatementContextEngineServices stmtEngineServices,
                        SchedulingService schedulingService,
                        ScheduleBucket scheduleBucket,
                        EPStatementHandle epStatementHandle,
                        ViewResolutionService viewResultionService,
                        PatternObjectResolutionService patternResolutionService,
                        StatementExtensionSvcContext statementExtensionSvcContext,
                        StatementStopService statementStopService,
                        PatternContextFactory patternContextFactory,
                        FilterService filterService,
                        StatementResultService statementResultService,
                        InternalEventRouteDest internalEventEngineRouteDest,
                        Annotation[] annotations,
                        StatementAIResourceRegistry statementAgentInstanceRegistry,
                        StatementAgentInstanceLock defaultAgentInstanceLock,
                        ContextDescriptor contextDescriptor,
                        PatternSubexpressionPoolStmtSvc patternSubexpressionPoolSvc,
                        MatchRecognizeStatePoolStmtSvc matchRecognizeStatePoolStmtSvc,
                        boolean statelessSelect,
                        ContextControllerFactoryService contextControllerFactoryService,
                        AgentInstanceScriptContext defaultAgentInstanceScriptContext,
                        AggregationServiceFactoryService aggregationServiceFactoryService,
                        boolean writesToTables,
                        Object statementUserObject,
                        StatementSemiAnonymousTypeRegistry statementSemiAnonymousTypeRegistry,
                        int priority) {
    this.stmtEngineServices = stmtEngineServices;
    this.schedulingService = schedulingService;
    this.scheduleBucket = scheduleBucket;
    this.epStatementHandle = epStatementHandle;
    this.viewResolutionService = viewResultionService;
    this.patternResolutionService = patternResolutionService;
    this.statementExtensionSvcContext = statementExtensionSvcContext;
    this.statementStopService = statementStopService;
    this.patternContextFactory = patternContextFactory;
    this.filterService = filterService;
    this.statementResultService = statementResultService;
    this.internalEventEngineRouteDest = internalEventEngineRouteDest;
    this.scheduleAdjustmentService = stmtEngineServices.getConfigSnapshot().getEngineDefaults().getExecution().isAllowIsolatedService() ? new ScheduleAdjustmentService() : null;
    this.annotations = annotations;
    this.statementAgentInstanceRegistry = statementAgentInstanceRegistry;
    this.defaultAgentInstanceLock = defaultAgentInstanceLock;
    this.contextDescriptor = contextDescriptor;
    this.patternSubexpressionPoolSvc = patternSubexpressionPoolSvc;
    this.matchRecognizeStatePoolStmtSvc = matchRecognizeStatePoolStmtSvc;
    this.statelessSelect = statelessSelect;
    this.contextControllerFactoryService = contextControllerFactoryService;
    this.defaultAgentInstanceScriptContext = defaultAgentInstanceScriptContext;
    this.aggregationServiceFactoryService = aggregationServiceFactoryService;
    this.writesToTables = writesToTables;
    this.statementUserObject = statementUserObject;
    this.statementSemiAnonymousTypeRegistry = statementSemiAnonymousTypeRegistry;
    this.priority = priority;
}
 
開發者ID:espertechinc,項目名稱:esper,代碼行數:55,代碼來源:StatementContext.java

示例2: StatementContext

import com.espertech.esper.pattern.PatternContextFactory; //導入依賴的package包/類
/**
 * Constructor.
 * @param stmtEngineServices is the engine services for the statement
 * @param statementId is the statement is assigned for the statement for which this context exists
 * @param statementName is the statement name
 * @param expression is the EPL or pattern expression used
 * @param schedulingService implementation for schedule registration
 * @param scheduleBucket is for ordering scheduled callbacks within the view statements
 * @param epStatementHandle is the statements-own handle for use in registering callbacks with services
 * @param viewResultionService is a service for resolving view namespace and name to a view factory
 * @param statementExtensionSvcContext provide extension points for custom statement resources
 * @param statementStopService for registering a callback invoked when a statement is stopped
 * @param methodResolutionService is a service for resolving static methods and aggregation functions
 * @param patternContextFactory is the pattern-level services and context information factory
 * @param filterService is the filtering service
 * @param patternResolutionService is the service that resolves pattern objects for the statement
 * @param statementResultService handles awareness of listeners/subscriptions for a statement customizing output produced
 * @param internalEventEngineRouteDest routing destination
 */
public StatementContext(StatementContextEngineServices stmtEngineServices,
                          String statementId,
                          byte[] statementIdBytes,
                          String statementName,
                          String expression,
                          SchedulingService schedulingService,
                          ScheduleBucket scheduleBucket,
                          EPStatementHandle epStatementHandle,
                          ViewResolutionService viewResultionService,
                          PatternObjectResolutionService patternResolutionService,
                          StatementExtensionSvcContext statementExtensionSvcContext,
                          StatementStopService statementStopService,
                          MethodResolutionService methodResolutionService,
                          PatternContextFactory patternContextFactory,
                          FilterService filterService,
                          StatementResultService statementResultService,
                          InternalEventRouteDest internalEventEngineRouteDest,
                          Annotation[] annotations,
                          StatementAIResourceRegistry statementAgentInstanceRegistry,
                          StatementAgentInstanceLock defaultAgentInstanceLock,
                          ContextDescriptor contextDescriptor,
                          PatternSubexpressionPoolStmtSvc patternSubexpressionPoolSvc,
                          boolean statelessSelect,
                          ContextControllerFactoryService contextControllerFactoryService,
                          AgentInstanceScriptContext defaultAgentInstanceScriptContext,
                          AggregationServiceFactoryService aggregationServiceFactoryService)
{
    this.stmtEngineServices = stmtEngineServices;
    this.statementId = statementId;
    this.statementIdBytes = statementIdBytes;
    this.statementName = statementName;
    this.expression = expression;
    this.schedulingService = schedulingService;
    this.scheduleBucket = scheduleBucket;
    this.epStatementHandle = epStatementHandle;
    this.viewResolutionService = viewResultionService;
    this.patternResolutionService = patternResolutionService;
    this.statementExtensionSvcContext = statementExtensionSvcContext;
    this.statementStopService = statementStopService;
    this.methodResolutionService = methodResolutionService;
    this.patternContextFactory = patternContextFactory;
    this.filterService = filterService;
    this.statementResultService = statementResultService;
    this.dynamicReferenceEventTypes = new HashSet<String>();
    this.internalEventEngineRouteDest = internalEventEngineRouteDest;
    this.scheduleAdjustmentService = new ScheduleAdjustmentService();
    this.annotations = annotations;
    this.statementAgentInstanceRegistry = statementAgentInstanceRegistry;
    this.defaultAgentInstanceLock = defaultAgentInstanceLock;
    this.contextDescriptor = contextDescriptor;
    this.patternSubexpressionPoolSvc = patternSubexpressionPoolSvc;
    this.statelessSelect = statelessSelect;
    this.contextControllerFactoryService = contextControllerFactoryService;
    this.defaultAgentInstanceScriptContext = defaultAgentInstanceScriptContext;
    this.aggregationServiceFactoryService = aggregationServiceFactoryService;
}
 
開發者ID:mobile-event-processing,項目名稱:Asper,代碼行數:76,代碼來源:StatementContext.java

示例3: getPatternContextFactory

import com.espertech.esper.pattern.PatternContextFactory; //導入依賴的package包/類
/**
 * Returns the pattern context factory for the statement.
 * @return pattern context factory
 */
public PatternContextFactory getPatternContextFactory()
{
    return patternContextFactory;
}
 
開發者ID:mobile-event-processing,項目名稱:Asper,代碼行數:9,代碼來源:StatementContext.java

示例4: getPatternContextFactory

import com.espertech.esper.pattern.PatternContextFactory; //導入依賴的package包/類
/**
 * Returns the pattern context factory for the statement.
 *
 * @return pattern context factory
 */
public PatternContextFactory getPatternContextFactory() {
    return patternContextFactory;
}
 
開發者ID:espertechinc,項目名稱:esper,代碼行數:9,代碼來源:StatementContext.java


注:本文中的com.espertech.esper.pattern.PatternContextFactory類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。