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


Java StatementSpecCompiled类代码示例

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


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

示例1: StatementAgentInstanceFactoryCreateWindow

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public StatementAgentInstanceFactoryCreateWindow(StatementContext statementContext, StatementSpecCompiled statementSpec, EPServicesContext services, ViewableActivatorFilterProxy activator, ViewFactoryChain unmaterializedViewChain, ResultSetProcessorFactoryDesc resultSetProcessorPrototype, OutputProcessViewFactory outputProcessViewFactory, boolean recoveringStatement) {
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.services = services;
    this.activator = activator;
    this.unmaterializedViewChain = unmaterializedViewChain;
    this.resultSetProcessorPrototype = resultSetProcessorPrototype;
    this.outputProcessViewFactory = outputProcessViewFactory;
    isRecoveringStatement = recoveringStatement;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:11,代码来源:StatementAgentInstanceFactoryCreateWindow.java

示例2: StatementAgentInstanceFactorySelect

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的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

示例3: ViewableActivatorStreamReuseView

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public ViewableActivatorStreamReuseView(EPServicesContext services, StatementContext statementContext, StatementSpecCompiled statementSpec, FilterStreamSpecCompiled filterStreamSpec, boolean join, ExprEvaluatorContextStatement evaluatorContextStmt, boolean filterSubselectSameStream) {
    this.services = services;
    this.statementContext = statementContext;
    this.statementSpec = statementSpec;
    this.filterStreamSpec = filterStreamSpec;
    this.join = join;
    this.evaluatorContextStmt = evaluatorContextStmt;
    this.filterSubselectSameStream = filterSubselectSameStream;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:10,代码来源:ViewableActivatorStreamReuseView.java

示例4: determineSubquerySameStream

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
protected static boolean determineSubquerySameStream(StatementSpecCompiled statementSpec, FilterStreamSpecCompiled filterStreamSpec) {
    for (ExprSubselectNode subselect : statementSpec.getSubSelectExpressions()) {
        StreamSpecCompiled streamSpec = subselect.getStatementSpecCompiled().getStreamSpecs().get(0);
        if (!(streamSpec instanceof FilterStreamSpecCompiled)) {
            continue;
        }
        FilterStreamSpecCompiled filterStream = (FilterStreamSpecCompiled) streamSpec;
        EventType typeSubselect = filterStream.getFilterSpec().getFilterForEventType();
        EventType typeFiltered = filterStreamSpec.getFilterSpec().getFilterForEventType();
        if (EventTypeUtility.isTypeOrSubTypeOf(typeSubselect, typeFiltered) || EventTypeUtility.isTypeOrSubTypeOf(typeFiltered, typeSubselect)) {
            return true;
        }
    }
    return false;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:16,代码来源:EPStatementStartMethodHelperUtil.java

示例5: make

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public static StatementSpecification make(StatementSpecCompiled ssc){
	StatementSpecification ss=new StatementSpecification();
	
	SelectClause selectClause=null;
	GroupByClause groupByClause=null;
	OrderByClause orderByClause=null;
	RowLimitClause rowLimitSpec=null;
	FromClause fromClause=null;
	BooleanExpressionClause whereClause=null;
	BooleanExpressionClause havingClause=null;
	
	//log.info("-- patternStream or filterStream ---");
	fromClause=FromClause.Factory.make(ssc.getStreamSpecs());
	
	//log.info("-- select ---");
	selectClause=SelectClause.Factory.make(ssc.getSelectClauseSpec());
	if(ssc.getFilterRootNode()!=null){
		//log.info("-- filter ---");
		whereClause=BooleanExpressionClause.Factory.make(ssc.getFilterRootNode(), "where");
	}
	if(ssc.getGroupByExpressions()!=null){
		//log.info("-- group by ---");
		groupByClause=GroupByClause.Factory.make(ssc.getGroupByExpressions());
	}
	if(ssc.getHavingExprRootNode()!=null){
		//log.info("-- having ---");
		havingClause=BooleanExpressionClause.Factory.make(ssc.getHavingExprRootNode(), "having");
	}
	if(ssc.getOrderByList()!=null){
		//log.info("-- order by ---");
		orderByClause=OrderByClause.Factory.make(ssc.getOrderByList());
	}
	if(ssc.getRowLimitSpec()!=null){				
		RowLimitSpec rls=ssc.getRowLimitSpec();
		rowLimitSpec=new RowLimitClause(rls.getNumRows().intValue(),
				rls.getOptionalOffset()==null?0:rls.getOptionalOffset().intValue());
	}
	ss.setSelectClause(selectClause);
	ss.setFromClause(fromClause);
	ss.setWhereClause(whereClause);
	ss.setGroupByClause(groupByClause);
	ss.setHavingClause(havingClause);
	ss.setOrderByClause(orderByClause);
	ss.setRowLimitSpec(rowLimitSpec);
	return ss;
}
 
开发者ID:HoratiusTang,项目名称:EsperDist,代码行数:47,代码来源:StatementSpecification.java

示例6: setStatementSpecCompiled

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
/**
 * Supplies a compiled statement spec.
 * @param statementSpecCompiled compiled validated filters
 */
public void setStatementSpecCompiled(StatementSpecCompiled statementSpecCompiled, int subselectNumber)
{
    this.statementSpecCompiled = statementSpecCompiled;
    this.subselectNumber = subselectNumber;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:10,代码来源:ExprSubselectNode.java

示例7: getStatementSpecCompiled

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
/**
 * Returns the compiled statement spec.
 * @return compiled statement
 */
public StatementSpecCompiled getStatementSpecCompiled()
{
    return statementSpecCompiled;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:9,代码来源:ExprSubselectNode.java

示例8: ContextManagedStatementSelectDesc

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的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:mobile-event-processing,项目名称:Asper,代码行数:6,代码来源:ContextManagedStatementSelectDesc.java

示例9: ContextControllerStatementBase

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public ContextControllerStatementBase(StatementSpecCompiled statementSpec, StatementContext statementContext, ContextMergeView mergeView, StatementAgentInstanceFactory factory) {
    this.statementSpec = statementSpec;
    this.statementContext = statementContext;
    this.mergeView = mergeView;
    this.factory = factory;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:7,代码来源:ContextControllerStatementBase.java

示例10: getStatementSpec

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public StatementSpecCompiled getStatementSpec() {
    return statementSpec;
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:ContextControllerStatementBase.java

示例11: ContextManagedStatementOnTriggerDesc

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public ContextManagedStatementOnTriggerDesc(StatementSpecCompiled statementSpec, StatementContext statementContext, ContextMergeView mergeView, StatementAgentInstanceFactory factory) {
    super(statementSpec, statementContext, mergeView, factory);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:ContextManagedStatementOnTriggerDesc.java

示例12: ContextManagedStatementCreateWindowDesc

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public ContextManagedStatementCreateWindowDesc(StatementSpecCompiled statementSpec, StatementContext statementContext, ContextMergeView mergeView, StatementAgentInstanceFactory factory) {
    super(statementSpec, statementContext, mergeView, factory);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:ContextManagedStatementCreateWindowDesc.java

示例13: EPStatementStartMethodCreateGraph

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public EPStatementStartMethodCreateGraph(StatementSpecCompiled statementSpec) {
    super(statementSpec);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:EPStatementStartMethodCreateGraph.java

示例14: EPStatementStartMethodCreateIndex

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public EPStatementStartMethodCreateIndex(StatementSpecCompiled statementSpec) {
    super(statementSpec);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:EPStatementStartMethodCreateIndex.java

示例15: EPStatementStartMethodCreateWindow

import com.espertech.esper.epl.spec.StatementSpecCompiled; //导入依赖的package包/类
public EPStatementStartMethodCreateWindow(StatementSpecCompiled statementSpec) {
    super(statementSpec);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:4,代码来源:EPStatementStartMethodCreateWindow.java


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