com.espertech.esper.epl.join.exec.sorted
Class SortedAccessStrategyRange

java.lang.Object
  extended by com.espertech.esper.epl.join.exec.sorted.SortedAccessStrategyRangeBase
      extended by com.espertech.esper.epl.join.exec.sorted.SortedAccessStrategyRange
All Implemented Interfaces:
SortedAccessStrategy

public class SortedAccessStrategyRange
extends SortedAccessStrategyRangeBase
implements SortedAccessStrategy


Field Summary
 
Fields inherited from class com.espertech.esper.epl.join.exec.sorted.SortedAccessStrategyRangeBase
end, includeEnd, includeStart, start
 
Constructor Summary
SortedAccessStrategyRange(boolean isNWOnTrigger, int lookupStream, int numStreams, ExprEvaluator start, boolean includeStart, ExprEvaluator end, boolean includeEnd, boolean allowRangeReversal)
           
 
Method Summary
 java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream, PropertySortedEventTable index, ExprEvaluatorContext context)
           
 java.util.Set<EventBean> lookup(EventBean theEvent, PropertySortedEventTable index, ExprEvaluatorContext context)
           
 java.util.Collection<EventBean> lookupCollectKeys(EventBean[] eventsPerStream, PropertySortedEventTable index, ExprEvaluatorContext context, java.util.ArrayList<java.lang.Object> keys)
           
 java.util.Set<EventBean> lookupCollectKeys(EventBean theEvent, PropertySortedEventTable index, ExprEvaluatorContext context, java.util.ArrayList<java.lang.Object> keys)
           
 
Methods inherited from class com.espertech.esper.epl.join.exec.sorted.SortedAccessStrategyRangeBase
evaluateLookupEnd, evaluateLookupStart, evaluatePerStreamEnd, evaluatePerStreamStart, toQueryPlan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.epl.join.exec.sorted.SortedAccessStrategy
toQueryPlan
 

Constructor Detail

SortedAccessStrategyRange

public SortedAccessStrategyRange(boolean isNWOnTrigger,
                                 int lookupStream,
                                 int numStreams,
                                 ExprEvaluator start,
                                 boolean includeStart,
                                 ExprEvaluator end,
                                 boolean includeEnd,
                                 boolean allowRangeReversal)
Method Detail

lookup

public java.util.Set<EventBean> lookup(EventBean theEvent,
                                       PropertySortedEventTable index,
                                       ExprEvaluatorContext context)
Specified by:
lookup in interface SortedAccessStrategy

lookupCollectKeys

public java.util.Set<EventBean> lookupCollectKeys(EventBean theEvent,
                                                  PropertySortedEventTable index,
                                                  ExprEvaluatorContext context,
                                                  java.util.ArrayList<java.lang.Object> keys)
Specified by:
lookupCollectKeys in interface SortedAccessStrategy

lookup

public java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream,
                                              PropertySortedEventTable index,
                                              ExprEvaluatorContext context)
Specified by:
lookup in interface SortedAccessStrategy

lookupCollectKeys

public java.util.Collection<EventBean> lookupCollectKeys(EventBean[] eventsPerStream,
                                                         PropertySortedEventTable index,
                                                         ExprEvaluatorContext context,
                                                         java.util.ArrayList<java.lang.Object> keys)
Specified by:
lookupCollectKeys in interface SortedAccessStrategy

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com