|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.store.AbstractStoreManager
A base superclass for subject manager types.
Field Summary | |
protected org.openrdf.sesame.repository.SesameRepository |
repository
The Sesame repository. |
Constructor Summary | |
AbstractStoreManager()
|
Method Summary | |
void |
addDocumentStatements(org.openrdf.model.URI subjectUri,
org.openrdf.model.Graph graph)
Add statements about a document by subject URI. |
void |
addXmlRdfStream(java.io.InputStream inStream,
java.net.URL baseUri)
Add an RDF data stream to the store. |
QueryResult |
executeQuery(Query query)
Execute a query against the data store. |
protected boolean |
isActive()
Check whether the store is active. |
protected void |
setActive(boolean setting)
Set the store active. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.openrdf.sesame.repository.SesameRepository repository
Constructor Detail |
public AbstractStoreManager()
Method Detail |
public final void addDocumentStatements(org.openrdf.model.URI subjectUri, org.openrdf.model.Graph graph) throws StoreException
subjectUri
- The URI of the subject document to add.graph
- The RDF graph of statements about this document.
StoreException
- If an error occurs with the triple store.public final void addXmlRdfStream(java.io.InputStream inStream, java.net.URL baseUri) throws StoreException
inStream
- The data stream to add to the store.baseUri
- The URL base of the source.
StoreException
- If there is a problem reading the input
stream or validating the RDF content.public final QueryResult executeQuery(Query query)
query
- The query to apply to the store.
protected final boolean isActive()
true
if the repository been
initialized and not shut down.protected final void setActive(boolean setting)
setting
- Whether the store is active.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |