com.hp.hpl.jena.sparql.core
Class DynamicDatasets.DynamicDatasetGraph
java.lang.Object
com.hp.hpl.jena.sparql.core.DatasetGraphWrapper
com.hp.hpl.jena.sparql.core.DatasetGraphReadOnly
com.hp.hpl.jena.sparql.core.DynamicDatasets.DynamicDatasetGraph
- All Implemented Interfaces:
- DatasetGraph, Closeable, Sync
- Enclosing class:
- DynamicDatasets
public static class DynamicDatasets.DynamicDatasetGraph
- extends DatasetGraphReadOnly
|
Method Summary |
boolean |
containsGraph(Node graphNode)
|
Graph |
getGraph(Node graphNode)
Get the graph named by graphNode : returns null on no graph
NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation. |
| Methods inherited from class com.hp.hpl.jena.sparql.core.DatasetGraphWrapper |
add, close, contains, contains, delete, find, find, find, findNG, getContext, getLock, getWrapped, isEmpty, listGraphNodes, size, sync, toString |
DynamicDatasets.DynamicDatasetGraph
public DynamicDatasets.DynamicDatasetGraph(DatasetGraph dsg)
containsGraph
public boolean containsGraph(Node graphNode)
- Specified by:
containsGraph in interface DatasetGraph- Overrides:
containsGraph in class DatasetGraphWrapper
getGraph
public Graph getGraph(Node graphNode)
- Description copied from interface:
DatasetGraph
- Get the graph named by graphNode : returns null on no graph
NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation.
Some datasets are "open" - they have all graphs even if no triples,
- Specified by:
getGraph in interface DatasetGraph- Overrides:
getGraph in class DatasetGraphReadOnly
Licenced under the Apache License, Version 2.0