public class DatasetGraphViewGraphs extends DatasetGraphWrapper
GraphView
Constructor and Description |
---|
DatasetGraphViewGraphs(DatasetGraph dsg) |
Modifier and Type | Method and Description |
---|---|
Graph |
getDefaultGraph()
Get the default graph as a Jena Graph
|
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.
|
add, add, addGraph, close, contains, contains, containsGraph, delete, delete, deleteAny, find, find, find, findNG, getContext, getLock, isEmpty, listGraphNodes, removeGraph, setDefaultGraph, size, toString
public DatasetGraphViewGraphs(DatasetGraph dsg)
public Graph getDefaultGraph()
DatasetGraph
getDefaultGraph
in interface DatasetGraph
getDefaultGraph
in class DatasetGraphWrapper
public Graph getGraph(Node graphNode)
DatasetGraph
getGraph
in interface DatasetGraph
getGraph
in class DatasetGraphWrapper
Licenced under the Apache License, Version 2.0