|
||||||||||
| 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.StoreCom
|
+--org.daml.rdf.jena.mem.StoreMem
|
+--org.daml.rdf.jena.mem.SourceStoreMem
Implementation of a memory based triple store that keeps track of the source for each statement.
| Nested Class Summary | |
protected class |
SourceStoreMem.SourceMap
|
| Nested classes inherited from class org.daml.rdf.jena.mem.StoreMem |
StoreMem.NodeMap |
| Constructor Summary | |
SourceStoreMem()
|
|
SourceStoreMem(Source source)
|
|
| Method Summary | |
void |
add(com.hp.hpl.mesa.rdf.jena.model.Statement s)
|
void |
add(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
Add a statement associated with a source. |
Source |
createSource(java.lang.String uri)
Create a new source. |
Source |
getDefaultSource()
Get the default source that is used when adding a statement. |
Source |
getSource(com.hp.hpl.mesa.rdf.jena.model.Statement s)
Return the store of a statement. |
java.util.Iterator |
listBySource(Source source)
Return an iterator over all the statements with a given source. |
java.util.Iterator |
listSources()
Return an iterator over all the sources in the store. |
void |
remove(com.hp.hpl.mesa.rdf.jena.model.Statement s)
|
void |
setDefaultSource(Source source)
Set the default source that is used when adding a statement. |
void |
setSource(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
Change the source of a statement. |
| Methods inherited from class org.daml.rdf.jena.mem.StoreMem |
contains, contains, getProperty, getResource, list, list, listByObject, listByPredicate, listBySubject, listNameSpaces, listSubjects, size |
| Methods inherited from class com.hp.hpl.mesa.rdf.jena.common.StoreCom |
close, createAlt, createAlt, createBag, createBag, createProperty, createProperty, createResource, createResource, createSeq, createSeq, createStatement, getAlt, getAlt, getBag, getBag, getProperty, getProperty, getSeq, getSeq, getStatement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.mesa.rdf.jena.common.Store |
close, contains, contains, createAlt, createAlt, createBag, createBag, createProperty, createProperty, createResource, createResource, createSeq, createSeq, createStatement, getAlt, getAlt, getBag, getBag, getProperty, getProperty, getProperty, getResource, getSeq, getSeq, getStatement, list, list, listByObject, listByPredicate, listBySubject, listNameSpaces, listSubjects, size |
| Constructor Detail |
public SourceStoreMem(Source source)
public SourceStoreMem()
| Method Detail |
public void add(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
throws com.hp.hpl.mesa.rdf.jena.model.RDFException
add in interface SourceStorecom.hp.hpl.mesa.rdf.jena.model.RDFExceptionpublic java.util.Iterator listBySource(Source source)
listBySource in interface SourceStorepublic Source getSource(com.hp.hpl.mesa.rdf.jena.model.Statement s)
getSource in interface SourceStorepublic java.util.Iterator listSources()
listSources in interface SourceStorepublic void setDefaultSource(Source source)
setDefaultSource in interface SourceStorepublic Source getDefaultSource()
getDefaultSource in interface SourceStore
public void setSource(com.hp.hpl.mesa.rdf.jena.model.Statement s,
Source source)
setSource in interface SourceStorepublic Source createSource(java.lang.String uri)
createSource in interface SourceStore
public void add(com.hp.hpl.mesa.rdf.jena.model.Statement s)
throws com.hp.hpl.mesa.rdf.jena.model.RDFException
add in interface com.hp.hpl.mesa.rdf.jena.common.Storeadd in class StoreMemcom.hp.hpl.mesa.rdf.jena.model.RDFException
public void remove(com.hp.hpl.mesa.rdf.jena.model.Statement s)
throws com.hp.hpl.mesa.rdf.jena.model.RDFException
remove in interface com.hp.hpl.mesa.rdf.jena.common.Storeremove in class StoreMemcom.hp.hpl.mesa.rdf.jena.model.RDFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||