com.sun.labs.minion.test.regression.query
Interface EntrySelector


public interface EntrySelector

Selects entrys from an index. This interface will allow the implementation of different strategies for selecting a entry from an index, which is usually maintained by a PartitionManager.


Method Summary
 java.util.List<Entry> selectEntries(PartitionManager manager)
          Selects entrys from an index.
 

Method Detail

selectEntries

java.util.List<Entry> selectEntries(PartitionManager manager)
Selects entrys from an index. The PartitionManager contains the index from which entrys are selected. Entrys are selected based on criteria implemented by this method.

Parameters:
manager - the PartitionManager which stores the index
Returns:
a list of selected entrys