public class HistoricalStreamIndexList extends Object
Constructor and Description |
---|
HistoricalStreamIndexList(int historicalStreamNum,
EventType[] typesPerStream,
QueryGraph queryGraph)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIndex(int streamViewStreamNum)
Used during query plan phase to indicate that an index must be provided for use in lookup of historical events by using a
stream's events.
|
Pair<HistoricalIndexLookupStrategy,PollResultIndexingStrategy> |
getStrategy(int streamViewStreamNum)
Get the strategies to use for polling from a given stream.
|
public HistoricalStreamIndexList(int historicalStreamNum, EventType[] typesPerStream, QueryGraph queryGraph)
historicalStreamNum
- number of the historical streamtypesPerStream
- event types for each streamqueryGraph
- relationship between key and index propertiespublic void addIndex(int streamViewStreamNum)
streamViewStreamNum
- the stream providing lookup eventspublic Pair<HistoricalIndexLookupStrategy,PollResultIndexingStrategy> getStrategy(int streamViewStreamNum)
streamViewStreamNum
- the stream providing the polling events