net.obsearch.ambient.bdb
Class AmbientBDBJe<O extends net.obsearch.OB,I extends net.obsearch.Index<O>>

java.lang.Object
  extended by net.obsearch.ambient.AbstractAmbient<O,I>
      extended by net.obsearch.ambient.bdb.AmbientBDBJe<O,I>
All Implemented Interfaces:
net.obsearch.ambient.Ambient<O,I>

public class AmbientBDBJe<O extends net.obsearch.OB,I extends net.obsearch.Index<O>>
extends net.obsearch.ambient.AbstractAmbient<O,I>

AmbientBDB creates an ambient based on the Berkeley DB storage sub-system.

Author:
Arnoldo Jose Muller Molina

Field Summary
 
Fields inherited from class net.obsearch.ambient.AbstractAmbient
fact
 
Fields inherited from interface net.obsearch.ambient.Ambient
METADATA_FILENAME
 
Constructor Summary
AmbientBDBJe(File directory)
           
AmbientBDBJe(I index, File directory)
           
 
Method Summary
protected  BDBFactoryJe createFactory(File factoryDirectory)
           
 
Methods inherited from class net.obsearch.ambient.AbstractAmbient
close, freeze, getFactory, getIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmbientBDBJe

public AmbientBDBJe(I index,
                    File directory)
             throws FileNotFoundException,
                    net.obsearch.exception.OBStorageException,
                    net.obsearch.exception.NotFrozenException,
                    IllegalAccessException,
                    InstantiationException,
                    net.obsearch.exception.OBException,
                    IOException
Throws:
FileNotFoundException
net.obsearch.exception.OBStorageException
net.obsearch.exception.NotFrozenException
IllegalAccessException
InstantiationException
net.obsearch.exception.OBException
IOException
See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(I index, File directory)

AmbientBDBJe

public AmbientBDBJe(File directory)
             throws FileNotFoundException,
                    net.obsearch.exception.OBStorageException,
                    net.obsearch.exception.NotFrozenException,
                    IllegalAccessException,
                    InstantiationException,
                    net.obsearch.exception.OBException,
                    IOException
Throws:
FileNotFoundException
net.obsearch.exception.OBStorageException
net.obsearch.exception.NotFrozenException
IllegalAccessException
InstantiationException
net.obsearch.exception.OBException
IOException
See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(File directory)
Method Detail

createFactory

protected BDBFactoryJe createFactory(File factoryDirectory)
                              throws net.obsearch.exception.OBStorageException
Specified by:
createFactory in class net.obsearch.ambient.AbstractAmbient<O extends net.obsearch.OB,I extends net.obsearch.Index<O>>
Throws:
net.obsearch.exception.OBStorageException


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.