|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.PersistentJRDFFactoryImpl
public final class PersistentJRDFFactoryImpl
Uses BDB JE and a BTree to store graphs, that can be accessed by name (using hasGraph and getGraph). Returns sorted results.
| Method Summary | |
|---|---|
void |
close()
|
Graph |
getExistingGraph(String name)
|
static PersistentJRDFFactory |
getFactory(DirectoryHandler handler)
|
Graph |
getGraph()
Create a new JRDF graph depending on the current configuration. |
Graph |
getGraph(String name)
|
Graph |
getNewGraph(String name)
|
SparqlConnection |
getNewSparqlConnection()
Create a new connection to perform SPARQL operations depending on the current configuration. |
boolean |
hasGraph(String name)
|
void |
refresh()
Reload any configuration files used to create the objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PersistentJRDFFactory getFactory(DirectoryHandler handler)
public SparqlConnection getNewSparqlConnection()
JRDFFactory
getNewSparqlConnection in interface JRDFFactorypublic boolean hasGraph(String name)
hasGraph in interface PersistentJRDFFactorypublic Graph getGraph()
JRDFFactory
getGraph in interface JRDFFactorypublic Graph getGraph(String name)
getGraph in interface PersistentJRDFFactorypublic Graph getNewGraph(String name)
getNewGraph in interface PersistentJRDFFactory
public Graph getExistingGraph(String name)
throws IllegalArgumentException
getExistingGraph in interface PersistentJRDFFactoryIllegalArgumentExceptionpublic void refresh()
JRDFFactory
refresh in interface JRDFFactorypublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||