org.jrdf
Class BasePersistentJRDFFactoryImpl

java.lang.Object
  extended by org.jrdf.BasePersistentJRDFFactoryImpl
All Implemented Interfaces:
BasePersistentJRDFFactory

public class BasePersistentJRDFFactoryImpl
extends Object
implements BasePersistentJRDFFactory


Constructor Summary
BasePersistentJRDFFactoryImpl(DirectoryHandler newHandler, BdbEnvironmentHandler newBdbHandler)
           
 
Method Summary
 long addNewGraph(String name)
           
 void close()
           
 IteratorTrackingCollectionFactory createCollectionFactory(long graphNumber)
           
 GraphFactory createGraphFactory(LongIndex[] indexes, NodePoolFactory nodePoolFactory, IteratorTrackingCollectionFactory collectionFactory)
           
 NodePoolFactory createNodePoolFactory(long graphNumber)
           
 SparqlConnection createSparqlConnection()
           
 long getGraphId(String name)
           
 boolean hasGraph(String name)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasePersistentJRDFFactoryImpl

public BasePersistentJRDFFactoryImpl(DirectoryHandler newHandler,
                                     BdbEnvironmentHandler newBdbHandler)
Method Detail

createSparqlConnection

public SparqlConnection createSparqlConnection()
Specified by:
createSparqlConnection in interface BasePersistentJRDFFactory

createNodePoolFactory

public NodePoolFactory createNodePoolFactory(long graphNumber)
Specified by:
createNodePoolFactory in interface BasePersistentJRDFFactory

createCollectionFactory

public IteratorTrackingCollectionFactory createCollectionFactory(long graphNumber)
Specified by:
createCollectionFactory in interface BasePersistentJRDFFactory

createGraphFactory

public GraphFactory createGraphFactory(LongIndex[] indexes,
                                       NodePoolFactory nodePoolFactory,
                                       IteratorTrackingCollectionFactory collectionFactory)
Specified by:
createGraphFactory in interface BasePersistentJRDFFactory

hasGraph

public boolean hasGraph(String name)
Specified by:
hasGraph in interface BasePersistentJRDFFactory

addNewGraph

public long addNewGraph(String name)
Specified by:
addNewGraph in interface BasePersistentJRDFFactory

getGraphId

public long getGraphId(String name)
Specified by:
getGraphId in interface BasePersistentJRDFFactory

refresh

public void refresh()
Specified by:
refresh in interface BasePersistentJRDFFactory

close

public void close()
Specified by:
close in interface BasePersistentJRDFFactory