當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。