net.esper.eql.join
Class HistoricalDataQueryStrategy
java.lang.Object
net.esper.eql.join.HistoricalDataQueryStrategy
- All Implemented Interfaces:
- QueryStrategy
public class HistoricalDataQueryStrategy
- extends Object
- implements QueryStrategy
Query strategy for use with HistoricalEventViewable
to perform lookup for a given stream using the poll method on a viewable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HistoricalDataQueryStrategy
public HistoricalDataQueryStrategy(int myStreamNumber,
int historicalStreamNumber,
HistoricalEventViewable historicalEventViewable,
boolean isOuterJoin,
ExprEqualsNode outerJoinCompareNode)
- Ctor.
- Parameters:
myStreamNumber
- is the strategy's stream numberhistoricalStreamNumber
- is the stream number of the view to be polledhistoricalEventViewable
- is the view to be polled fromisOuterJoin
- is this is an outer joinouterJoinCompareNode
- is the node to perform the on-comparison for outer joins
lookup
public void lookup(EventBean[] lookupEvents,
Set<MultiKey<EventBean>> joinSet)
- Description copied from interface:
QueryStrategy
- Look up events returning tuples of joined events.
- Specified by:
lookup
in interface QueryStrategy
- Parameters:
lookupEvents
- - events to use to perform the joinjoinSet
- - result join tuples of events