Class PollResultIndexingStrategyComposite
java.lang.Object
com.espertech.esper.common.internal.epl.historical.indexingstrategy.PollResultIndexingStrategyComposite
- All Implemented Interfaces:
PollResultIndexingStrategy
public class PollResultIndexingStrategyComposite
extends Object
implements PollResultIndexingStrategy
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.epl.historical.indexingstrategy.PollResultIndexingStrategy
EPTYPEARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionindex
(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Build and index of a poll result.void
init()
void
void
setHashGetter
(EventPropertyValueGetter hashGetter) void
setOptionalKeyedProps
(String[] optionalKeyedProps) void
setOptKeyCoercedTypes
(EPTypeClass[] optKeyCoercedTypes) void
setOptRangeCoercedTypes
(EPTypeClass[] optRangeCoercedTypes) void
setRangeGetters
(EventPropertyValueGetter[] rangeGetters) void
setRangeProps
(String[] rangeProps) void
setStreamNum
(int streamNum)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
PollResultIndexingStrategyComposite
public PollResultIndexingStrategyComposite()
-
-
Method Details
-
index
public EventTable[] index(List<EventBean> pollResult, boolean isActiveCache, ExprEvaluatorContext exprEvaluatorContext) Description copied from interface:PollResultIndexingStrategy
Build and index of a poll result.- Specified by:
index
in interfacePollResultIndexingStrategy
- Parameters:
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.exprEvaluatorContext
- statement context- Returns:
- indexed collection of poll results
-
init
public void init() -
setStreamNum
public void setStreamNum(int streamNum) -
setOptionalKeyedProps
-
setOptKeyCoercedTypes
-
setHashGetter
-
setRangeProps
-
setOptRangeCoercedTypes
-
setRangeGetters
-
setFactory
-