当前位置: 首页>>代码示例>>Java>>正文


Java SubSelectStrategyCollection类代码示例

本文整理汇总了Java中com.espertech.esper.core.context.subselect.SubSelectStrategyCollection的典型用法代码示例。如果您正苦于以下问题:Java SubSelectStrategyCollection类的具体用法?Java SubSelectStrategyCollection怎么用?Java SubSelectStrategyCollection使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


SubSelectStrategyCollection类属于com.espertech.esper.core.context.subselect包,在下文中一共展示了SubSelectStrategyCollection类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: StatementAgentInstanceFactoryOnTriggerTable

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTriggerTable(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection, ResultSetProcessorFactoryDesc resultSetProcessorPrototype, ExprNode validatedJoin, TableOnViewFactory onExprFactory, EventType activatorResultEventType, TableMetadata tableMetadata, ResultSetProcessorFactoryDesc outputResultSetProcessorPrototype, OutputProcessViewFactory outputProcessViewFactory)
        throws ExprValidationException {
    super(statementContext, statementSpec, services, activator, subSelectStrategyCollection);
    this.resultSetProcessorPrototype = resultSetProcessorPrototype;
    this.onExprFactory = onExprFactory;
    this.outputResultSetProcessorPrototype = outputResultSetProcessorPrototype;
    this.outputProcessViewFactory = outputProcessViewFactory;

    StatementAgentInstanceFactoryOnTriggerNamedWindow.IndexHintPair pair = StatementAgentInstanceFactoryOnTriggerNamedWindow.getIndexHintPair(statementContext, statementSpec);
    IndexHint indexHint = pair.getIndexHint();
    ExcludePlanHint excludePlanHint = pair.getExcludePlanHint();

    queryPlanResult = SubordinateQueryPlanner.planOnExpression(
            validatedJoin, activatorResultEventType, indexHint, true, -1, excludePlanHint,
            false, tableMetadata.getEventTableIndexMetadataRepo(), tableMetadata.getInternalEventType(),
            tableMetadata.getUniqueKeyProps(), true, statementContext.getStatementName(), statementContext.getStatementId(), statementContext.getAnnotations(), statementContext.getEngineImportService());
    if (queryPlanResult.getIndexDescs() != null) {
        for (int i = 0; i < queryPlanResult.getIndexDescs().length; i++) {
            tableMetadata.addIndexReference(queryPlanResult.getIndexDescs()[i].getIndexName(), statementContext.getStatementName());
        }
    }
    SubordinateQueryPlannerUtil.queryPlanLogOnExpr(tableMetadata.isQueryPlanLogging(), TableServiceImpl.getQueryPlanLog(),
            queryPlanResult, statementContext.getAnnotations(), statementContext.getEngineImportService());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:25,代码来源:StatementAgentInstanceFactoryOnTriggerTable.java

示例2: StatementAgentInstanceFactorySelect

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactorySelect(int numStreams, ViewableActivator[] eventStreamParentViewableActivators, StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, StreamTypeService typeService, ViewFactoryChain[] unmaterializedViewChain, ResultSetProcessorFactoryDesc resultSetProcessorFactoryDesc, StreamJoinAnalysisResult joinAnalysisResult, boolean recoveringResilient, JoinSetComposerPrototype joinSetComposerPrototype, SubSelectStrategyCollection subSelectStrategyCollection, ViewResourceDelegateVerified viewResourceDelegate, OutputProcessViewFactory outputProcessViewFactory) {
    super(statementSpec.getAnnotations());
    this.numStreams = numStreams;
    this.eventStreamParentViewableActivators = eventStreamParentViewableActivators;
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.services = services;
    this.typeService = typeService;
    this.unmaterializedViewChain = unmaterializedViewChain;
    this.resultSetProcessorFactoryDesc = resultSetProcessorFactoryDesc;
    this.joinAnalysisResult = joinAnalysisResult;
    this.joinSetComposerPrototype = joinSetComposerPrototype;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.viewResourceDelegate = viewResourceDelegate;
    this.outputProcessViewFactory = outputProcessViewFactory;

    if (statementSpec.getFilterRootNode() != null) {
        filterRootNodeEvaluator = ExprNodeCompiler.allocateEvaluator(statementSpec.getFilterRootNode().getForge(), statementContext.getEngineImportService(), StatementAgentInstanceFactorySelect.class, false, statementContext.getStatementName());
    } else {
        filterRootNodeEvaluator = null;
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:23,代码来源:StatementAgentInstanceFactorySelect.java

示例3: StatementAgentInstanceFactoryOnTriggerBase

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTriggerBase(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection) {
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.services = services;
    this.activator = activator;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:8,代码来源:StatementAgentInstanceFactoryOnTriggerBase.java

示例4: StatementAgentInstanceFactoryUpdate

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryUpdate(StatementContext statementContext, EPServicesContext services, EventType streamEventType, UpdateDesc desc, InternalRoutePreprocessView onExprView, InternalEventRouterDesc routerDesc, SubSelectStrategyCollection subSelectStrategyCollection) {
    super(statementContext.getAnnotations());
    this.statementContext = statementContext;
    this.services = services;
    this.streamEventType = streamEventType;
    this.desc = desc;
    this.onExprView = onExprView;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.routerDesc = routerDesc;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:11,代码来源:StatementAgentInstanceFactoryUpdate.java

示例5: StatementAgentInstanceFactoryOnTriggerNamedWindow

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTriggerNamedWindow(final StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection, ResultSetProcessorFactoryDesc resultSetProcessorPrototype, ExprNode validatedJoin, ResultSetProcessorFactoryDesc outputResultSetProcessorPrototype, NamedWindowOnExprFactory onExprFactory, OutputProcessViewFactory outputProcessViewFactory, EventType activatorResultEventType, final NamedWindowProcessor processor, List<StopCallback> stopCallbacks)
        throws ExprValidationException {
    super(statementContext, statementSpec, services, activator, subSelectStrategyCollection);
    this.resultSetProcessorPrototype = resultSetProcessorPrototype;
    this.outputResultSetProcessorPrototype = outputResultSetProcessorPrototype;
    this.onExprFactory = onExprFactory;
    this.outputProcessViewFactory = outputProcessViewFactory;
    this.processor = processor;

    IndexHintPair pair = getIndexHintPair(statementContext, statementSpec);
    IndexHint indexHint = pair.getIndexHint();
    ExcludePlanHint excludePlanHint = pair.getExcludePlanHint();

    queryPlan = SubordinateQueryPlanner.planOnExpression(
            validatedJoin, activatorResultEventType, indexHint, processor.isEnableSubqueryIndexShare(), -1, excludePlanHint,
            processor.isVirtualDataWindow(), processor.getEventTableIndexMetadataRepo(), processor.getNamedWindowType(),
            processor.getOptionalUniqueKeyProps(), false, statementContext.getStatementName(), statementContext.getStatementId(), statementContext.getAnnotations(), statementContext.getEngineImportService());
    if (queryPlan.getIndexDescs() != null) {
        SubordinateQueryPlannerUtil.addIndexMetaAndRef(queryPlan.getIndexDescs(), processor.getEventTableIndexMetadataRepo(), statementContext.getStatementName());
        stopCallbacks.add(new StopCallback() {
            public void stop() {
                for (int i = 0; i < queryPlan.getIndexDescs().length; i++) {
                    boolean last = processor.getEventTableIndexMetadataRepo().removeIndexReference(queryPlan.getIndexDescs()[i].getIndexMultiKey(), statementContext.getStatementName());
                    if (last) {
                        processor.getEventTableIndexMetadataRepo().removeIndex(queryPlan.getIndexDescs()[i].getIndexMultiKey());
                        processor.removeAllInstanceIndexes(queryPlan.getIndexDescs()[i].getIndexMultiKey());
                    }
                }
            }
        });
    }
    SubordinateQueryPlannerUtil.queryPlanLogOnExpr(processor.getRootView().isQueryPlanLogging(), NamedWindowRootView.getQueryPlanLog(),
            queryPlan, statementContext.getAnnotations(), statementContext.getEngineImportService());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:35,代码来源:StatementAgentInstanceFactoryOnTriggerNamedWindow.java

示例6: StatementAgentInstanceFactoryOnTriggerSplit

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTriggerSplit(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection, EPStatementStartMethodOnTriggerItem[] items, EventType activatorResultEventType) {
    super(statementContext, statementSpec, services, activator, subSelectStrategyCollection);
    this.items = items;
    this.activatorResultEventType = activatorResultEventType;

    whereClauseEvals = new ExprEvaluator[items.length];
    for (int i = 0; i < items.length; i++) {
        whereClauseEvals[i] = items[i].getWhereClause() == null ? null : ExprNodeCompiler.allocateEvaluator(items[i].getWhereClause().getForge(), statementContext.getEngineImportService(), StatementAgentInstanceFactoryOnTriggerSplit.class, false, statementContext.getStatementName());
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:11,代码来源:StatementAgentInstanceFactoryOnTriggerSplit.java

示例7: EPStatementStartMethodSelectDesc

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public EPStatementStartMethodSelectDesc(StatementAgentInstanceFactorySelect statementAgentInstanceFactorySelect, SubSelectStrategyCollection subSelectStrategyCollection, ViewResourceDelegateUnverified viewResourceDelegateUnverified, ResultSetProcessorFactoryDesc resultSetProcessorPrototypeDesc, EPStatementStopMethod stopMethod, EPStatementDestroyCallbackList destroyCallbacks) {
    this.statementAgentInstanceFactorySelect = statementAgentInstanceFactorySelect;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.viewResourceDelegateUnverified = viewResourceDelegateUnverified;
    this.resultSetProcessorPrototypeDesc = resultSetProcessorPrototypeDesc;
    this.stopMethod = stopMethod;
    this.destroyCallbacks = destroyCallbacks;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:9,代码来源:EPStatementStartMethodSelectDesc.java

示例8: StatementAgentInstanceFactoryOnTrigger

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTrigger(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection, ResultSetProcessorFactoryDesc resultSetProcessorPrototype, ExprNode validatedJoin, EventType activatorResultEventType, StatementAgentInstanceFactoryOnTriggerSplitDesc splitDesc, ResultSetProcessorFactoryDesc outputResultSetProcessorPrototype, OnSetVariableViewFactory onSetVariableViewFactory, NamedWindowOnExprFactory onExprFactory, OutputProcessViewFactory outputProcessViewFactory, boolean recoveringStatement) {
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.services = services;
    this.activator = activator;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.resultSetProcessorPrototype = resultSetProcessorPrototype;
    this.validatedJoin = validatedJoin;
    this.activatorResultEventType = activatorResultEventType;
    this.splitDesc = splitDesc;
    this.outputResultSetProcessorPrototype = outputResultSetProcessorPrototype;
    this.onSetVariableViewFactory = onSetVariableViewFactory;
    this.onExprFactory = onExprFactory;
    this.outputProcessViewFactory = outputProcessViewFactory;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:16,代码来源:StatementAgentInstanceFactoryOnTrigger.java

示例9: StatementAgentInstanceFactoryUpdate

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryUpdate(StatementContext statementContext, EPServicesContext services, EventType streamEventType, UpdateDesc desc, InternalRoutePreprocessView onExprView, InternalEventRouterDesc routerDesc, SubSelectStrategyCollection subSelectStrategyCollection) {
    this.statementContext = statementContext;
    this.services = services;
    this.streamEventType = streamEventType;
    this.desc = desc;
    this.onExprView = onExprView;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.routerDesc = routerDesc;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:10,代码来源:StatementAgentInstanceFactoryUpdate.java

示例10: StatementAgentInstanceFactorySelect

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactorySelect(int numStreams, ViewableActivator[] eventStreamParentViewableActivators, StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, StreamTypeService typeService, ViewFactoryChain[] unmaterializedViewChain, ResultSetProcessorFactoryDesc resultSetProcessorFactoryDesc, StreamJoinAnalysisResult joinAnalysisResult, boolean recoveringResilient, JoinSetComposerPrototype joinSetComposerPrototype, SubSelectStrategyCollection subSelectStrategyCollection, ViewResourceDelegateVerified viewResourceDelegate, OutputProcessViewFactory outputProcessViewFactory) {
    this.numStreams = numStreams;
    this.eventStreamParentViewableActivators = eventStreamParentViewableActivators;
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.services = services;
    this.typeService = typeService;
    this.unmaterializedViewChain = unmaterializedViewChain;
    this.resultSetProcessorFactoryDesc = resultSetProcessorFactoryDesc;
    this.joinAnalysisResult = joinAnalysisResult;
    this.joinSetComposerPrototype = joinSetComposerPrototype;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.viewResourceDelegate = viewResourceDelegate;
    this.outputProcessViewFactory = outputProcessViewFactory;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:16,代码来源:StatementAgentInstanceFactorySelect.java

示例11: EPStatementStartMethodSelectDesc

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public EPStatementStartMethodSelectDesc(StatementAgentInstanceFactorySelect statementAgentInstanceFactorySelect, SubSelectStrategyCollection subSelectStrategyCollection, ViewResourceDelegateUnverified viewResourceDelegateUnverified, ResultSetProcessorFactoryDesc resultSetProcessorPrototypeDesc, EPStatementStopMethod stopMethod) {
    this.statementAgentInstanceFactorySelect = statementAgentInstanceFactorySelect;
    this.subSelectStrategyCollection = subSelectStrategyCollection;
    this.viewResourceDelegateUnverified = viewResourceDelegateUnverified;
    this.resultSetProcessorPrototypeDesc = resultSetProcessorPrototypeDesc;
    this.stopMethod = stopMethod;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:8,代码来源:EPStatementStartMethodSelectDesc.java

示例12: getSubSelectStrategyCollection

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public SubSelectStrategyCollection getSubSelectStrategyCollection() {
    return subSelectStrategyCollection;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:4,代码来源:StatementAgentInstanceFactorySelect.java

示例13: StatementAgentInstanceFactoryOnTriggerSetVariable

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public StatementAgentInstanceFactoryOnTriggerSetVariable(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivator activator, SubSelectStrategyCollection subSelectStrategyCollection, OnSetVariableViewFactory onSetVariableViewFactory, ResultSetProcessorFactoryDesc outputResultSetProcessorPrototype, OutputProcessViewFactory outputProcessViewFactory) {
    super(statementContext, statementSpec, services, activator, subSelectStrategyCollection);
    this.onSetVariableViewFactory = onSetVariableViewFactory;
    this.outputResultSetProcessorPrototype = outputResultSetProcessorPrototype;
    this.outputProcessViewFactory = outputProcessViewFactory;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:7,代码来源:StatementAgentInstanceFactoryOnTriggerSetVariable.java

示例14: ContextManagedStatementSelectDesc

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public ContextManagedStatementSelectDesc(StatementSpecCompiled statementSpec, StatementContext statementContext, ContextMergeView mergeView, StatementAgentInstanceFactory factory, List<AggregationServiceAggExpressionDesc> aggregationExpressions, SubSelectStrategyCollection subSelectPrototypeCollection) {
    super(statementSpec, statementContext, mergeView, factory);
    this.aggregationExpressions = aggregationExpressions;
    this.subSelectPrototypeCollection = subSelectPrototypeCollection;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:6,代码来源:ContextManagedStatementSelectDesc.java

示例15: getSubSelectPrototypeCollection

import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public SubSelectStrategyCollection getSubSelectPrototypeCollection() {
    return subSelectPrototypeCollection;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:4,代码来源:ContextManagedStatementSelectDesc.java


注:本文中的com.espertech.esper.core.context.subselect.SubSelectStrategyCollection类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。