public class PollResultIndexingStrategyComposite extends Object implements PollResultIndexingStrategy
Constructor and Description |
---|
PollResultIndexingStrategyComposite(int streamNum,
EventType eventType,
String[] indexPropertiesJoin,
Class[] keyCoercionTypes,
String[] rangePropertiesJoin,
Class[] rangeCoercionTypes) |
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