java.lang.Object
org.apache.jena.sparql.core.DatasetGraphBase
org.apache.jena.sparql.core.DatasetGraphBaseFind
org.apache.jena.sparql.core.DatasetGraphNull
org.apache.jena.sparql.core.DatasetGraphSink
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,DatasetGraph,Transactional
An always empty
DatasetGraph that accepts changes but ignores them.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
Transactional.Promote -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a quadvoidaddGraph(org.apache.jena.graph.Node graphName, org.apache.jena.graph.Graph graph) Add the given graph to the dataset.static DatasetGraphcreate()voidDelete a quadvoiddeleteAny(org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Delete any quads matching the patternprefixes()Prefixes for this DatasetGraphvoidremoveGraph(org.apache.jena.graph.Node graphName) Remove all data associated with the named graph.Methods inherited from class org.apache.jena.sparql.core.DatasetGraphNull
abort, begin, begin, commit, end, getDefaultGraph, getGraph, getUnionGraph, isInTransaction, listGraphNodes, promote, supportsTransactionAbort, supportsTransactions, transactionMode, transactionTypeMethods inherited from class org.apache.jena.sparql.core.DatasetGraphBaseFind
find, findInUnionGraph, findNG, findQuadsInUnionGraphMethods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
add, clear, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, size, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.sparql.core.DatasetGraph
addAll, stream, streamMethods inherited from interface org.apache.jena.sparql.core.Transactional
begin, calc, calculate, calculateRead, calculateWrite, exec, execute, executeRead, executeWrite, promote
-
Method Details
-
create
-
add
Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphNull
-
delete
Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphNull
-
deleteAny
public void deleteAny(org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Description copied from interface:DatasetGraphDelete any quads matching the pattern- Specified by:
deleteAnyin interfaceDatasetGraph- Overrides:
deleteAnyin classDatasetGraphNull
-
addGraph
public void addGraph(org.apache.jena.graph.Node graphName, org.apache.jena.graph.Graph graph) Description copied from interface:DatasetGraphAdd the given graph to the dataset. Replaces any existing data for the named graph; to add data, get the graph and add triples to it, or add quads to the dataset. Do not assume that the same Java object is returned byDatasetGraph.getGraph(org.apache.jena.graph.Node)- Specified by:
addGraphin interfaceDatasetGraph- Overrides:
addGraphin classDatasetGraphNull
-
removeGraph
public void removeGraph(org.apache.jena.graph.Node graphName) Description copied from interface:DatasetGraphRemove all data associated with the named graph. This will include prefixes associated with the graph.- Specified by:
removeGraphin interfaceDatasetGraph- Overrides:
removeGraphin classDatasetGraphNull
-
prefixes
Description copied from interface:DatasetGraphPrefixes for this DatasetGraph
-