public class PollResultIndexingStrategySorted extends Object implements PollResultIndexingStrategy
Constructor and Description |
---|
PollResultIndexingStrategySorted(int streamNum,
EventType eventType,
String propertyName,
Class coercionType) |
Modifier and Type | Method and Description |
---|---|
EventTable[] |
index(List<EventBean> pollResult,
boolean isActiveCache,
StatementContext statementContext)
Build and index of a poll result.
|
String |
toQueryPlan() |
public EventTable[] index(List<EventBean> pollResult, boolean isActiveCache, StatementContext statementContext)
PollResultIndexingStrategy
index
in interface PollResultIndexingStrategy
pollResult
- result of a poll operationisActiveCache
- true to indicate that caching is active and therefore index building makes sense as
the index structure is not a throw-away.statementContext
- statement contextpublic String toQueryPlan()
toQueryPlan
in interface PollResultIndexingStrategy