com.espertech.esper.epl.join
Class PollResultIndexingStrategyNoIndex

java.lang.Object
  extended by com.espertech.esper.epl.join.PollResultIndexingStrategyNoIndex
All Implemented Interfaces:
PollResultIndexingStrategy

public class PollResultIndexingStrategyNoIndex
extends Object
implements PollResultIndexingStrategy

Strategy of indexing that simply builds an unindexed table of poll results.

For use when caching is disabled or when no proper index could be build because no where-clause or on-clause exists or these clauses don't yield indexable columns on analysis.


Constructor Summary
PollResultIndexingStrategyNoIndex()
           
 
Method Summary
 EventTable index(List<EventBean> pollResult, boolean isActiveCache)
          Build and index of a poll result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollResultIndexingStrategyNoIndex

public PollResultIndexingStrategyNoIndex()
Method Detail

index

public EventTable index(List<EventBean> pollResult,
                        boolean isActiveCache)
Description copied from interface: PollResultIndexingStrategy
Build and index of a poll result.

Specified by:
index in interface PollResultIndexingStrategy
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