com.espertech.esper.epl.virtualdw
Class SubordTableLookupStrategyVirtualDW

java.lang.Object
  extended by com.espertech.esper.epl.virtualdw.SubordTableLookupStrategyVirtualDW
All Implemented Interfaces:
SubordTableLookupStrategy

public class SubordTableLookupStrategyVirtualDW
extends java.lang.Object
implements SubordTableLookupStrategy


Constructor Summary
SubordTableLookupStrategyVirtualDW(java.lang.String namedWindowName, VirtualDataWindowLookup externalIndex, java.util.List<SubordPropHashKey> hashKeys, CoercionDesc hashKeyCoercionTypes, java.util.List<SubordPropRangeKey> rangeKeys, CoercionDesc rangeKeyCoercionTypes, boolean nwOnTrigger, int numOuterStreams)
           
 
Method Summary
 LookupStrategyDesc getStrategyDesc()
           
 java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream, ExprEvaluatorContext context)
          Returns matched events for a set of events to look up for.
 java.lang.String toQueryPlan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubordTableLookupStrategyVirtualDW

public SubordTableLookupStrategyVirtualDW(java.lang.String namedWindowName,
                                          VirtualDataWindowLookup externalIndex,
                                          java.util.List<SubordPropHashKey> hashKeys,
                                          CoercionDesc hashKeyCoercionTypes,
                                          java.util.List<SubordPropRangeKey> rangeKeys,
                                          CoercionDesc rangeKeyCoercionTypes,
                                          boolean nwOnTrigger,
                                          int numOuterStreams)
Method Detail

lookup

public java.util.Collection<EventBean> lookup(EventBean[] eventsPerStream,
                                              ExprEvaluatorContext context)
Description copied from interface: SubordTableLookupStrategy
Returns matched events for a set of events to look up for. Never returns an empty result set, always returns null to indicate no results.

Specified by:
lookup in interface SubordTableLookupStrategy
Parameters:
eventsPerStream - to look up
Returns:
set of matching events, or null if none matching

toQueryPlan

public java.lang.String toQueryPlan()
Specified by:
toQueryPlan in interface SubordTableLookupStrategy

getStrategyDesc

public LookupStrategyDesc getStrategyDesc()
Specified by:
getStrategyDesc in interface SubordTableLookupStrategy

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