net.obsearch.ambient.bdb
Class AmbientBDBJe<O extends OB,I extends Index<O>>
java.lang.Object
net.obsearch.ambient.AbstractAmbient<O,I>
net.obsearch.ambient.bdb.AmbientBDBJe<O,I>
- All Implemented Interfaces:
- Ambient<O,I>
public class AmbientBDBJe<O extends OB,I extends Index<O>>
- extends AbstractAmbient<O,I>
AmbientBDB creates an ambient based on the Berkeley DB storage sub-system.
- Author:
- Arnoldo Jose Muller Molina
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmbientBDBJe
public AmbientBDBJe(I index,
File directory)
throws FileNotFoundException,
OBStorageException,
NotFrozenException,
IllegalAccessException,
InstantiationException,
OBException,
IOException
- Throws:
FileNotFoundException
OBStorageException
NotFrozenException
IllegalAccessException
InstantiationException
OBException
IOException
- See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(I index, File directory)
AmbientBDBJe
public AmbientBDBJe(File directory)
throws FileNotFoundException,
OBStorageException,
NotFrozenException,
IllegalAccessException,
InstantiationException,
OBException,
IOException
- Throws:
FileNotFoundException
OBStorageException
NotFrozenException
IllegalAccessException
InstantiationException
OBException
IOException
- See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(File directory)
createFactory
protected BDBFactoryJe createFactory(File factoryDirectory)
throws OBStorageException
- Description copied from class:
AbstractAmbient
- Creates the factory in the given folder.
- Specified by:
createFactory
in class AbstractAmbient<O extends OB,I extends Index<O>>
- Parameters:
factoryDirectory
- The location where the factory will work.
- Returns:
- The factory ready to work!
- Throws:
OBStorageException
- if something goes wrong with the DB.
Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.