net.esper.eql.join
Interface PollResultIndexingStrategy

All Known Implementing Classes:
PollResultIndexingStrategyIndex, PollResultIndexingStrategyIndexCoerce, PollResultIndexingStrategyNoIndex

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(List<EventBean> pollResult, boolean isActiveCache)
          Build and index of a poll result.
 

Method Detail

index

EventTable index(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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com