public class PollResultIndexingStrategyHash extends Object implements PollResultIndexingStrategy
Constructor and Description |
---|
PollResultIndexingStrategyHash() |
Modifier and Type | Method and Description |
---|---|
EventTable[] |
index(List<EventBean> pollResult,
boolean isActiveCache,
AgentInstanceContext agentInstanceContext)
Build and index of a poll result.
|
void |
init() |
void |
setPropertyNames(String[] propertyNames) |
void |
setStreamNum(int streamNum) |
void |
setValueGetter(EventPropertyValueGetter valueGetter) |
public EventTable[] index(List<EventBean> pollResult, boolean isActiveCache, AgentInstanceContext agentInstanceContext)
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.agentInstanceContext
- statement contextpublic void setStreamNum(int streamNum)
public void setPropertyNames(String[] propertyNames)
public void setValueGetter(EventPropertyValueGetter valueGetter)
public void init()
Copyright © 2005–2018. All rights reserved.