@Deprecated public abstract class DatasetGraphCaching extends DatasetGraphTriplesQuads
Modifier and Type | Method and Description |
---|---|
void |
addGraph(Node graphName,
Graph graph)
Deprecated.
Add the given graph to the dataset.
|
void |
clear()
Deprecated.
Remove everything - remove all named graphs, clear the default graph
|
void |
close()
Deprecated.
Close the dataset
|
boolean |
containsGraph(Node graphNode)
Deprecated.
Does the DatasetGraph contain a specific named graph?
Whether a dataset contains a graph if there are no triples is
not defined - see the specifc implementation.
|
Graph |
getDefaultGraph()
Deprecated.
Get the default graph as a Jena Graph
|
Graph |
getGraph(Node graphNode)
Deprecated.
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.
|
void |
removeGraph(Node graphName)
Deprecated.
Remove all data associated with the named graph
|
add, add, delete, delete
find, findInUnionGraph, findNG, findQuadsInUnionGraph
contains, contains, deleteAny, find, find, getContext, getLock, isEmpty, setDefaultGraph, size, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
listGraphNodes
public boolean containsGraph(Node graphNode)
DatasetGraph
containsGraph
in interface DatasetGraph
containsGraph
in class DatasetGraphBase
public final Graph getDefaultGraph()
DatasetGraph
getDefaultGraph
in interface DatasetGraph
getDefaultGraph
in class DatasetGraphBase
public final Graph getGraph(Node graphNode)
DatasetGraph
getGraph
in interface DatasetGraph
getGraph
in class DatasetGraphBase
public void addGraph(Node graphName, Graph graph)
DatasetGraph
DatasetGraph.getGraph(org.apache.jena.graph.Node)
addGraph
in interface DatasetGraph
addGraph
in class DatasetGraphTriplesQuads
public final void removeGraph(Node graphName)
DatasetGraph
removeGraph
in interface DatasetGraph
removeGraph
in class DatasetGraphTriplesQuads
public void clear()
DatasetGraph
clear
in interface DatasetGraph
clear
in class DatasetGraphBase
public void close()
DatasetGraph
close
in interface org.apache.jena.atlas.lib.Closeable
close
in interface DatasetGraph
close
in class DatasetGraphBase
Licenced under the Apache License, Version 2.0