本文整理汇总了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());
}
示例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;
}
}
示例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;
}
示例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;
}
示例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());
}
示例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());
}
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例12: getSubSelectStrategyCollection
import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public SubSelectStrategyCollection getSubSelectStrategyCollection() {
return subSelectStrategyCollection;
}
示例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;
}
示例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;
}
示例15: getSubSelectPrototypeCollection
import com.espertech.esper.core.context.subselect.SubSelectStrategyCollection; //导入依赖的package包/类
public SubSelectStrategyCollection getSubSelectPrototypeCollection() {
return subSelectPrototypeCollection;
}