|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.core.DatasetImpl
public class DatasetImpl
Wrapper around a DatasetGraph. See also DataSourceImpl.
| Constructor Summary | |
|---|---|
DatasetImpl(DatasetGraph dsg)
|
|
DatasetImpl(com.hp.hpl.jena.rdf.model.Model model)
|
|
| Method Summary | |
|---|---|
DatasetGraph |
asDatasetGraph()
Get the dataset in graph form |
void |
close()
Close the dataset, potentially releasing any associated resources. |
boolean |
containsNamedModel(java.lang.String uri)
Does the dataset contain a model with the name supplied? |
com.hp.hpl.jena.rdf.model.Model |
getDefaultModel()
Return the default model |
com.hp.hpl.jena.shared.Lock |
getLock()
Get the lock for this dataset |
com.hp.hpl.jena.rdf.model.Model |
getNamedModel(java.lang.String uri)
Return a model for the named graph - repeated calls so not guarantee to return the same Java object |
java.util.Iterator<java.lang.String> |
listNames()
List the names |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatasetImpl(com.hp.hpl.jena.rdf.model.Model model)
public DatasetImpl(DatasetGraph dsg)
| Method Detail |
|---|
public com.hp.hpl.jena.rdf.model.Model getDefaultModel()
getDefaultModel in interface Datasetpublic com.hp.hpl.jena.shared.Lock getLock()
Dataset
getLock in interface Datasetpublic DatasetGraph asDatasetGraph()
Dataset
asDatasetGraph in interface Datasetpublic com.hp.hpl.jena.rdf.model.Model getNamedModel(java.lang.String uri)
getNamedModel in interface Datasetpublic boolean containsNamedModel(java.lang.String uri)
Dataset
containsNamedModel in interface Datasetpublic void close()
Dataset
close in interface Datasetpublic java.util.Iterator<java.lang.String> listNames()
Dataset
listNames in interface Dataset
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||