public SubordSortedTableLookupStrategyFactory(
     bool isNWOnTrigger,
     int numStreams,
     string expression,
     QueryGraphValueEntryRange range)
 {
     this._expression = expression;
     strategy = SortedAccessStrategyFactory.Make(isNWOnTrigger, -1, numStreams, range);
 }
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="lookupStream">The lookup stream.</param>
 /// <param name="property">The property.</param>
 public HistoricalIndexLookupStrategySorted(int lookupStream, QueryGraphValueEntryRange property)
 {
     _strategy = SortedAccessStrategyFactory.Make(false, lookupStream, -1, property, null);
 }
 public SubordSortedTableLookupStrategyFactory(bool isNWOnTrigger, int numStreams, SubordPropRangeKey rangeKey)
 {
     _rangeKey     = rangeKey;
     _strategy     = SortedAccessStrategyFactory.Make(isNWOnTrigger, -1, numStreams, rangeKey);
     _strategyDesc = new LookupStrategyDesc(LookupStrategyType.RANGE, ExprNodeUtility.ToExpressionStringsMinPrecedence(rangeKey.RangeInfo.Expressions));
 }
Пример #4
0
 /// <summary>
 /// Ctor.
 /// </summary>
 /// <param name="lookupStream">The lookup stream.</param>
 /// <param name="numStreams">The num streams.</param>
 /// <param name="rangeKeyPair">The range key pair.</param>
 /// <param name="coercionType">Type of the coercion.</param>
 /// <param name="index">index to look up in</param>
 public SortedTableLookupStrategy(int lookupStream, int numStreams, QueryGraphValueEntryRange rangeKeyPair, Type coercionType, PropertySortedEventTable index)
 {
     _rangeKeyPair = rangeKeyPair;
     _index        = index;
     _strategy     = SortedAccessStrategyFactory.Make(false, lookupStream, numStreams, rangeKeyPair, coercionType);
 }