public class PollResultIndexingStrategyComposite extends Object implements PollResultIndexingStrategy
Constructor and Description |
---|
PollResultIndexingStrategyComposite() |
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 |
setFactory(PropertyCompositeEventTableFactory factory) |
void |
setHashGetter(EventPropertyValueGetter hashGetter) |
void |
setOptionalKeyedProps(String[] optionalKeyedProps) |
void |
setOptKeyCoercedTypes(Class[] optKeyCoercedTypes) |
void |
setOptRangeCoercedTypes(Class[] optRangeCoercedTypes) |
void |
setRangeGetters(EventPropertyValueGetter[] rangeGetters) |
void |
setRangeProps(String[] rangeProps) |
void |
setStreamNum(int streamNum) |
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 init()
public void setStreamNum(int streamNum)
public void setOptionalKeyedProps(String[] optionalKeyedProps)
public void setOptKeyCoercedTypes(Class[] optKeyCoercedTypes)
public void setHashGetter(EventPropertyValueGetter hashGetter)
public void setRangeProps(String[] rangeProps)
public void setOptRangeCoercedTypes(Class[] optRangeCoercedTypes)
public void setRangeGetters(EventPropertyValueGetter[] rangeGetters)
public void setFactory(PropertyCompositeEventTableFactory factory)
Copyright © 2005–2018. All rights reserved.