|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbpiwowar.db.BatchFileStorage<String,bpiwowar.db.BatchFileStorage.StringLocation,DensityTracker>
uk.ac.gla.dcs.renaissance.iqir.StringIndexedDensityTracker
public class StringIndexedDensityTracker
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bpiwowar.db.BatchFileStorage |
---|
bpiwowar.db.BatchFileStorage.IntegerLocation, bpiwowar.db.BatchFileStorage.Location<K>, bpiwowar.db.BatchFileStorage.StringLocation |
Field Summary |
---|
Fields inherited from class bpiwowar.db.BatchFileStorage |
---|
locationStore |
Constructor Summary | |
---|---|
StringIndexedDensityTracker(com.sleepycat.je.Environment dbenv,
String dbname,
boolean destroy,
int nbThreads)
|
Method Summary | |
---|---|
protected void |
add(String s,
bpiwowar.maths.matrix.DoubleMatrix1D v)
|
void |
flush(bpiwowar.log.TaskTimer timer)
Update the subspaces |
void |
setCompaction(int compactInterval,
double compactThreshold)
|
void |
setMaxSVDRank(int maxRank)
|
void |
setStoreVectorSum(boolean storeVectorSum)
|
Methods inherited from class bpiwowar.db.BatchFileStorage |
---|
cleanup, close, closeOpenedBatches, count, finalize, getCurrentBatchIndex, getHome, getLocation, getObjectSize, getStoredObject, getStoredObject, hasObject, isCompressed, iterator, keyIterator, keys, nextBatch, outputObject, readObject, storeObject, storeObject, storeObject, storeObject, toString, writeObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringIndexedDensityTracker(com.sleepycat.je.Environment dbenv, String dbname, boolean destroy, int nbThreads) throws com.sleepycat.persist.evolve.IncompatibleClassException, com.sleepycat.je.DatabaseException
com.sleepycat.persist.evolve.IncompatibleClassException
com.sleepycat.je.DatabaseException
Method Detail |
---|
public void setStoreVectorSum(boolean storeVectorSum)
protected void add(String s, bpiwowar.maths.matrix.DoubleMatrix1D v)
public void flush(bpiwowar.log.TaskTimer timer) throws IOException, com.sleepycat.je.DatabaseException
timer
-
IOException
- If there are troubles when writing
com.sleepycat.je.DatabaseException
public void setMaxSVDRank(int maxRank)
public void setCompaction(int compactInterval, double compactThreshold)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |