public interface RDFStorageService
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.query.Dataset |
loadDataset(java.net.URI resourceURI)
Loads the dataset with the specified URL
|
DataWithEtag<org.apache.jena.query.Dataset> |
loadDataset(java.net.URI resourceURI,
java.lang.String etag)
Compares the etag to the value derived from the data found in the storage for
the specified URI.
|
org.apache.jena.rdf.model.Model |
loadModel(java.net.URI resourceURI)
Loads the default model of the stored dataset with the specified URL
|
DataWithEtag<org.apache.jena.rdf.model.Model> |
loadModel(java.net.URI resourceURI,
java.lang.String etag)
Compares the etag to the value derived from the data found in the storage for
the specified URI.
|
boolean |
removeContent(java.net.URI resourceURI) |
void |
storeDataset(java.net.URI resourceURI,
org.apache.jena.query.Dataset dataset)
Stores a copy of the specified dataset.
|
void |
storeModel(java.net.URI resourceURI,
org.apache.jena.rdf.model.Model model)
Stores a copy of the specified model, iff it contains at least one triple.
|
void storeModel(java.net.URI resourceURI,
org.apache.jena.rdf.model.Model model)
resourceURI - model - void storeDataset(java.net.URI resourceURI,
org.apache.jena.query.Dataset dataset)
resourceURI - dataset - org.apache.jena.rdf.model.Model loadModel(java.net.URI resourceURI)
resourceURI - DataWithEtag<org.apache.jena.rdf.model.Model> loadModel(java.net.URI resourceURI, java.lang.String etag)
resourceURI - etag - org.apache.jena.query.Dataset loadDataset(java.net.URI resourceURI)
resourceURI - DataWithEtag<org.apache.jena.query.Dataset> loadDataset(java.net.URI resourceURI, java.lang.String etag)
resourceURI - etag - boolean removeContent(java.net.URI resourceURI)
Copyright © 2019. All Rights Reserved.