|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncrementalPivotSelector<O extends OB>
Objects that implement the IncrementalPivotSelector interface are expected to take objects from a) all the database, b) a subset of the database. The pivot selector should return a list with all the objects that will be pivots.
Method Summary | |
---|---|
PivotResult |
generatePivots(int pivotCount,
Index<O> index)
Generates pivots from all the elements found in the DB. |
PivotResult |
generatePivots(int pivotCount,
cern.colt.list.LongArrayList elements,
Index<O> index)
Generates pivots from the elements (object ids) given in the array elements. |
Method Detail |
---|
PivotResult generatePivots(int pivotCount, Index<O> index) throws OBException, IllegalAccessException, InstantiationException, OBStorageException, PivotsUnavailableException
pivotCount
- The # of pivots that will be generated.
OBStorageException
- If something goes wrong with the DB
OBException
- User generated exception
IllegalAccessException
- If there is a problem when instantiating objects O
InstantiationException
- If there is a problem when instantiating objects O
PivotsUnavailableException
- If not all the pivots requested were found.PivotResult generatePivots(int pivotCount, cern.colt.list.LongArrayList elements, Index<O> index) throws OBException, IllegalAccessException, InstantiationException, OBStorageException, PivotsUnavailableException
pivotCount
- elements
-
OBException
IllegalAccessException
InstantiationException
OBStorageException
PivotsUnavailableException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |