com.espertech.esper.view
Interface HistoricalEventViewable

All Superinterfaces:
EventCollection, Iterable<EventBean>, StopCallback, ValidatedView, Viewable
All Known Implementing Classes:
DatabasePollingViewable, MethodPollingViewable

public interface HistoricalEventViewable
extends Viewable, ValidatedView, StopCallback

Interface for views that poll data based on information from other streams.


Method Summary
 EventTable[] poll(EventBean[][] lookupEventsPerStream, PollResultIndexingStrategy indexingStrategy)
          Poll for stored historical or reference data using events per stream and returing for each event-per-stream row a separate list with events representing the poll result.
 
Methods inherited from interface com.espertech.esper.view.Viewable
addView, getViews, hasViews, removeView
 
Methods inherited from interface com.espertech.esper.view.EventCollection
getEventType, iterator
 
Methods inherited from interface com.espertech.esper.view.ValidatedView
validate
 
Methods inherited from interface com.espertech.esper.util.StopCallback
stop
 

Method Detail

poll

EventTable[] poll(EventBean[][] lookupEventsPerStream,
                  PollResultIndexingStrategy indexingStrategy)
Poll for stored historical or reference data using events per stream and returing for each event-per-stream row a separate list with events representing the poll result.

Parameters:
lookupEventsPerStream - is the events per stream where the first dimension is a number of rows (often 1 depending on windows used) and the second dimension is the number of streams participating in a join.
indexingStrategy - the strategy to use for converting poll results into a indexed table for fast lookup
Returns:
array of lists with one list for each event-per-stream row

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com