|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.exec.base.ExecNode
com.espertech.esper.epl.join.exec.base.HistoricalDataExecNode
public class HistoricalDataExecNode
Execution node for executing a join or outer join against a historical data source, using an lookup strategy for looking up into cached indexes, and an indexing strategy for indexing poll results for future lookups.
Constructor Summary | |
---|---|
HistoricalDataExecNode(HistoricalEventViewable historicalEventViewable,
PollResultIndexingStrategy indexingStrategy,
HistoricalIndexLookupStrategy indexLookupStrategy,
int numStreams,
int historicalStreamNumber)
Ctor. |
Method Summary | |
---|---|
void |
print(IndentWriter writer)
Output the execution strategy. |
void |
process(EventBean lookupEvent,
EventBean[] prefillPath,
java.util.Collection<EventBean[]> result,
ExprEvaluatorContext exprEvaluatorContext)
Process single event using the prefill events to compile lookup results. |
Methods inherited from class com.espertech.esper.epl.join.exec.base.ExecNode |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistoricalDataExecNode(HistoricalEventViewable historicalEventViewable, PollResultIndexingStrategy indexingStrategy, HistoricalIndexLookupStrategy indexLookupStrategy, int numStreams, int historicalStreamNumber)
historicalEventViewable
- the view of the historicalindexingStrategy
- the strategy to index poll result for future useindexLookupStrategy
- the strategy to use past indexed resultsnumStreams
- the number of streams in the joinhistoricalStreamNumber
- the stream number of the historicalMethod Detail |
---|
public void process(EventBean lookupEvent, EventBean[] prefillPath, java.util.Collection<EventBean[]> result, ExprEvaluatorContext exprEvaluatorContext)
ExecNode
process
in class ExecNode
lookupEvent
- - event to look up for or query forprefillPath
- - set of events currently in the example tuple to serve
as a prototype for result rows.result
- is the list of tuples to add a result row toexprEvaluatorContext
- context for expression evaluationpublic void print(IndentWriter writer)
ExecNode
print
in class ExecNode
writer
- to output to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |