|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatasetAccessor
Accessor to a dataset as a collection of models, providing
whole model operations. Models can be added, remopve and replaced.
This interface provides a uniform interface to local and remote datasets and is based on
SPARQL 1.1 Graph Store HTTP Protocol.
The factory methods in DatasetAccessorFactory provides creators for
DatasetAccessors to local and remote (over HTTP) data.
local na dremote
DatasetAccessorFactory| Method Summary | |
|---|---|
void |
add(Model data)
Add statements to the default model of a Dataset |
void |
add(String graphUri,
Model data)
Add statements to a named model of a Dataset |
boolean |
containsModel(String graphURI)
Does the Dataset contain a named graph? |
void |
deleteDefault()
Delete (which means clear) the default model of a Dataset |
void |
deleteModel(String graphUri)
Delete a named model of a Dataset |
Model |
getModel()
Get the default model of a Dataset |
Model |
getModel(String graphUri)
Get a named model of a Dataset |
void |
putModel(Model data)
Put (replace) the default model of a Dataset |
void |
putModel(String graphUri,
Model data)
Put (create/replace) a named model of a Dataset |
| Method Detail |
|---|
Model getModel()
Model getModel(String graphUri)
boolean containsModel(String graphURI)
void putModel(Model data)
void putModel(String graphUri,
Model data)
void deleteDefault()
void deleteModel(String graphUri)
void add(Model data)
void add(String graphUri,
Model data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||