public class HistoricalDataExecNode extends ExecNode
Constructor and Description |
---|
HistoricalDataExecNode(HistoricalEventViewable historicalEventViewable,
PollResultIndexingStrategy indexingStrategy,
HistoricalIndexLookupStrategy indexLookupStrategy,
int numStreams,
int historicalStreamNumber)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
print(IndentWriter writer)
Output the execution strategy.
|
void |
process(EventBean lookupEvent,
EventBean[] prefillPath,
Collection<EventBean[]> result,
ExprEvaluatorContext exprEvaluatorContext)
Process single event using the prefill events to compile lookup results.
|
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 historicalpublic void process(EventBean lookupEvent, EventBean[] prefillPath, 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