net.obsearch.pivots.dummy
Class IncrementalFixedPivotSelector
java.lang.Object
net.obsearch.pivots.dummy.IncrementalFixedPivotSelector
- All Implemented Interfaces:
- IncrementalPivotSelector
public class IncrementalFixedPivotSelector
- extends Object
- implements IncrementalPivotSelector
IncrementalFixedPivotSelector
- Author:
- Arnoldo Jose Muller Molina
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
def
public static long[] def
- Pre-computed pivot definitions
levScalab
public static long[] levScalab
ted
public static long[] ted
tedLevel
public static long[][] tedLevel
lev
public static long[] lev
levLevel
public static long[][] levLevel
mtd
public static long[] mtd
mtdLevel
public static long[][] mtdLevel
IncrementalFixedPivotSelector
public IncrementalFixedPivotSelector()
IncrementalFixedPivotSelector
public IncrementalFixedPivotSelector(long[] ids)
IncrementalFixedPivotSelector
public IncrementalFixedPivotSelector(long[][] ids)
generatePivots
public PivotResult generatePivots(int pivotCount,
Index index)
throws OBException,
IllegalAccessException,
InstantiationException,
OBStorageException,
PivotsUnavailableException
- Description copied from interface:
IncrementalPivotSelector
- Generates pivots from all the elements found in the DB.
- Specified by:
generatePivots
in interface IncrementalPivotSelector
- Parameters:
pivotCount
- The # of pivots that will be generated.
- Returns:
- A list of the ids of the pivots.
- Throws:
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.
generatePivots
public PivotResult generatePivots(int pivotCount,
cern.colt.list.LongArrayList elements,
Index index)
throws OBException,
IllegalAccessException,
InstantiationException,
OBStorageException,
PivotsUnavailableException
- Description copied from interface:
IncrementalPivotSelector
- Generates pivots from the elements (object ids) given in the array elements.
Generates pivotsCount pivots.
- Specified by:
generatePivots
in interface IncrementalPivotSelector
- Returns:
- A list of the ids of the pivots.
- Throws:
OBException
IllegalAccessException
InstantiationException
OBStorageException
PivotsUnavailableException
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.