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


Java CompositeIndexQueryFactory类代码示例

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


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

示例1: CompositeTableLookupStrategy

import com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory; //导入依赖的package包/类
public CompositeTableLookupStrategy(EventType eventType, int lookupStream, List<QueryGraphValueEntryHashKeyed> hashKeys, List<QueryGraphValueEntryRange> rangeKeyPairs, PropertyCompositeEventTable index) {
    this.eventType = eventType;
    this.index = index;
    this.rangeKeyPairs = rangeKeyPairs;
    chain = CompositeIndexQueryFactory.makeJoinSingleLookupStream(false, lookupStream, hashKeys, index.getOptKeyCoercedTypes(), rangeKeyPairs, index.getOptRangeCoercedTypes());

    Deque<String> expressionTexts = new ArrayDeque<String>();
    for (QueryGraphValueEntryRange pair : rangeKeyPairs) {
        ExprNode[] expressions = pair.getExpressions();
        for (ExprNode node : expressions) {
            expressionTexts.add(ExprNodeUtilityCore.toExpressionStringMinPrecedenceSafe(node));
        }
    }
    lookupStrategyDesc = new LookupStrategyDesc(LookupStrategyType.COMPOSITE, expressionTexts.toArray(new String[expressionTexts.size()]));
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:16,代码来源:CompositeTableLookupStrategy.java

示例2: CompositeTableLookupStrategy

import com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory; //导入依赖的package包/类
/**
 * Ctor.
 * @param eventType - event type to expect for lookup
 * @param index - index to look up in
 */
public CompositeTableLookupStrategy(EventType eventType, int lookupStream, List<QueryGraphValueEntryHashKeyed> hashKeys, List<QueryGraphValueEntryRange> rangeKeyPairs, PropertyCompositeEventTable index)
{
    this.eventType = eventType;
    this.index = index;
    this.rangeKeyPairs = rangeKeyPairs;
    chain = CompositeIndexQueryFactory.makeJoinSingleLookupStream(false, lookupStream, hashKeys, index.getOptKeyCoercedTypes(), rangeKeyPairs, index.getOptRangeCoercedTypes());
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:13,代码来源:CompositeTableLookupStrategy.java

示例3: HistoricalIndexLookupStrategyComposite

import com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory; //导入依赖的package包/类
public HistoricalIndexLookupStrategyComposite(int lookupStream, List<QueryGraphValueEntryHashKeyed> hashKeys, Class[] keyCoercionTypes, List<QueryGraphValueEntryRange> rangeKeyPairs, Class[] rangeCoercionTypes) {
    chain = CompositeIndexQueryFactory.makeJoinSingleLookupStream(false, lookupStream, hashKeys, keyCoercionTypes, rangeKeyPairs, rangeCoercionTypes);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:4,代码来源:HistoricalIndexLookupStrategyComposite.java

示例4: SubordCompositeTableLookupStrategyFactory

import com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory; //导入依赖的package包/类
public SubordCompositeTableLookupStrategyFactory(boolean isNWOnTrigger, int numStreams, Collection<SubordPropHashKey> keyExpr, Class[] coercionKeyTypes, Collection<SubordPropRangeKey> rangeProps, Class[] coercionRangeTypes) {
    this.rangeDescs = rangeProps;
    List<String> expressionTexts = new ArrayList<String>();
    this.innerIndexQuery = CompositeIndexQueryFactory.makeSubordinate(isNWOnTrigger, numStreams, keyExpr, coercionKeyTypes, rangeProps, coercionRangeTypes, expressionTexts);
    this.strategyDesc = new LookupStrategyDesc(LookupStrategyType.COMPOSITE, expressionTexts.toArray(new String[expressionTexts.size()]));
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:7,代码来源:SubordCompositeTableLookupStrategyFactory.java

示例5: SubordCompositeTableLookupStrategyFactory

import com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory; //导入依赖的package包/类
public SubordCompositeTableLookupStrategyFactory(boolean isNWOnTrigger, int numStreams, Collection<SubordPropHashKey> keyExpr, Class[] coercionKeyTypes, Collection<SubordPropRangeKey> rangeProps, Class[] coercionRangeTypes) {
    this.rangeDescs = rangeProps;
    this.innerIndexQuery = CompositeIndexQueryFactory.makeSubordinate(isNWOnTrigger, numStreams, keyExpr, coercionKeyTypes, rangeProps, coercionRangeTypes);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:5,代码来源:SubordCompositeTableLookupStrategyFactory.java


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