com.espertech.esper.epl.join.pollindex
Interface PollResultIndexingStrategy

All Known Implementing Classes:
PollResultIndexingStrategyComposite, PollResultIndexingStrategyIndex, PollResultIndexingStrategyIndexCoerce, PollResultIndexingStrategyIndexCoerceSingle, PollResultIndexingStrategyIndexSingle, PollResultIndexingStrategyIndexSingleArray, PollResultIndexingStrategyNoIndex, PollResultIndexingStrategySorted

public interface PollResultIndexingStrategy

A strategy for converting a poll-result into a potentially indexed table.

Some implementations may decide to not index the poll result and simply hold a reference to the result. Other implementations may use predetermined index properties to index the poll result for faster lookup.


Method Summary
 EventTable[] index(java.util.List<EventBean> pollResult, boolean isActiveCache)
          Build and index of a poll result.
 java.lang.String toQueryPlan()
           
 

Method Detail

index

EventTable[] index(java.util.List<EventBean> pollResult,
                   boolean isActiveCache)
Build and index of a poll result.

Parameters:
pollResult - result of a poll operation
isActiveCache - true to indicate that caching is active and therefore index building makes sense as the index structure is not a throw-away.
Returns:
indexed collection of poll results

toQueryPlan

java.lang.String toQueryPlan()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com