|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.hp.hpl.mesa.rdf.jena.common.ModelCom
|
+--com.hp.hpl.mesa.rdf.jena.bdb.ModelBdb
A BerkeleyDB implemenation of an RDF model.
This implementation of the RDF API stores its all its data in a Berkeley DB store
| Constructor Summary | |
ModelBdb(StoreFactory sf)
Construct an RDF model based based a Berkeley DB store. |
|
| Method Summary | |
Model |
difference(Model model)
Create a new model containing all the statements in this model which are not in another. |
Model |
intersection(Model model)
Create a new model containing all the statements which are in both this model and another. |
Model |
query(Selector selector)
Create a new model containing the statements matching a query. |
boolean |
supportsSetOperations()
Determine whether this model supports set operations. |
boolean |
supportsTransactions()
Determine whether this model supports transactions. |
Model |
union(Model model)
Create a new model containing all the statements in this model together with all of those in another given model. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.Model |
abort, add, add, add, begin, close, commit, contains, contains, contains, containsAll, containsAll, containsAny, containsAny, createLiteral, createLiteral, createProperty, createResource, createResource, createStatement, equals, getProperty, getProperty, getResource, independent, isReified, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listReifiedStatements, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, read, read, read, read, remove, size, write, write, write |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.ModelCon |
add, add, add, add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, createAlt, createAlt, createBag, createBag, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createProperty, createResource, createResource, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, getAlt, getAlt, getBag, getBag, getProperty, getResource, getSeq, getSeq, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, remove, remove |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.RDFReaderF |
getReader, getReader, setReaderClassName |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.model.RDFWriterF |
getWriter, getWriter, setWriterClassName |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.common.ModelI |
containerContains, containerIndexOf, containerSize, convert, convert, convert, listContainerMembers |
| Constructor Detail |
public ModelBdb(StoreFactory sf)
throws RDFException
sf - A factory object which will be called once to return
a Berkeley DB store which the model will use to
store its data.
RDFException - A generic RDF exception should anything go wrong.| Method Detail |
public boolean supportsTransactions()
Model
supportsTransactions in interface Modelpublic boolean supportsSetOperations()
Model
supportsSetOperations in interface Model
public Model query(Selector selector)
throws RDFException
ModelA statment is considered to match if the test method
of s returns true when called on s.
query in interface Modelselector - A selector object.
RDFException - Generic RDF exception.
public Model union(Model model)
throws RDFException
Model
union in interface Modelmodel - The other model whose statements are to be included.
RDFException - Generic RDF Exception
public Model intersection(Model model)
throws RDFException
Model
intersection in interface Modelmodel - The other model.
RDFException - Generic RDF Exception
public Model difference(Model model)
throws RDFException
Model
difference in interface Modelmodel - the other model whose statements are to be excluded.
RDFException - Generic RDF Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||