public class HistoricalStreamIndexListForge extends Object
Constructor and Description |
---|
HistoricalStreamIndexListForge(int historicalStreamNum,
EventType[] typesPerStream,
QueryGraphForge 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<HistoricalIndexLookupStrategyForge,PollResultIndexingStrategyForge> |
getStrategy(int streamViewStreamNum)
Get the strategies to use for polling from a given stream.
|
public HistoricalStreamIndexListForge(int historicalStreamNum, EventType[] typesPerStream, QueryGraphForge 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<HistoricalIndexLookupStrategyForge,PollResultIndexingStrategyForge> getStrategy(int streamViewStreamNum)
streamViewStreamNum
- the stream providing the polling eventsCopyright © 2005–2018. All rights reserved.