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


Java ViewServiceHelper类代码示例

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


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

示例1: addUniquenessInfo

import com.espertech.esper.view.ViewServiceHelper; //导入依赖的package包/类
public void addUniquenessInfo(ViewFactoryChain[] unmaterializedViewChain, Annotation[] annotations) {
    for (int i = 0; i < unmaterializedViewChain.length; i++) {
        if (unmaterializedViewChain[i].getDataWindowViewFactoryCount() > 0) {
            Set<String> uniquenessProps = ViewServiceHelper.getUniqueCandidateProperties(unmaterializedViewChain[i].getViewFactoryChain(), annotations);
            if (uniquenessProps != null) {
                uniqueKeys[i] = new String[1][];
                uniqueKeys[i][0] = uniquenessProps.toArray(new String[uniquenessProps.size()]);
            }
        }
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:12,代码来源:StreamJoinAnalysisResult.java

示例2: addUniquenessInfo

import com.espertech.esper.view.ViewServiceHelper; //导入依赖的package包/类
public void addUniquenessInfo(ViewFactoryChain[] unmaterializedViewChain) {
    for (int i = 0; i < unmaterializedViewChain.length; i++) {
        if (unmaterializedViewChain[i].getDataWindowViewFactoryCount() > 0) {
            Set<String> uniquenessProps = ViewServiceHelper.getUniqueCandidateProperties(unmaterializedViewChain[i].getViewFactoryChain());
            if (uniquenessProps != null) {
                uniqueKeys[i] = new String[1][];
                uniqueKeys[i][0] = uniquenessProps.toArray(new String[uniquenessProps.size()]);
            }
        }
    }
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:12,代码来源:StreamJoinAnalysisResult.java

示例3: makeView

import com.espertech.esper.view.ViewServiceHelper; //导入依赖的package包/类
public View makeView(final AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
{
    IStreamRelativeAccess relativeAccessByEvent = ViewServiceHelper.getOptPreviousExprRelativeAccess(agentInstanceViewFactoryContext);
    return new ExpressionBatchView(this, relativeAccessByEvent, expiryExpression.getExprEvaluator(), aggregationServiceFactoryDesc, builtinMapBean, variableNames, agentInstanceViewFactoryContext);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:6,代码来源:ExpressionBatchViewFactory.java

示例4: makeView

import com.espertech.esper.view.ViewServiceHelper; //导入依赖的package包/类
public View makeView(final AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
{
    IStreamRandomAccess randomAccess = ViewServiceHelper.getOptPreviousExprRandomAccess(agentInstanceViewFactoryContext);
    return new ExpressionWindowView(this, randomAccess, expiryExpression.getExprEvaluator(), aggregationServiceFactoryDesc, builtinMapBean, variableNames, agentInstanceViewFactoryContext);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:6,代码来源:ExpressionWindowViewFactory.java


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