本文整理汇总了Java中com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory.makeJoinSingleLookupStream方法的典型用法代码示例。如果您正苦于以下问题:Java CompositeIndexQueryFactory.makeJoinSingleLookupStream方法的具体用法?Java CompositeIndexQueryFactory.makeJoinSingleLookupStream怎么用?Java CompositeIndexQueryFactory.makeJoinSingleLookupStream使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.espertech.esper.epl.join.exec.composite.CompositeIndexQueryFactory
的用法示例。
在下文中一共展示了CompositeIndexQueryFactory.makeJoinSingleLookupStream方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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()]));
}
示例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());
}
示例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);
}