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 quadvoidAdd the given graph to the dataset.static DatasetGraphcreate()voidDelete a quadvoidDelete any quads matching the patternprefixes()Prefixes for this DatasetGraphvoidremoveGraph(Node graphName) Remove all data associated with the named graph.voidSet the default 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
Description copied from interface:DatasetGraphDelete any quads matching the pattern- Specified by:
deleteAnyin interfaceDatasetGraph- Overrides:
deleteAnyin classDatasetGraphNull
-
setDefaultGraph
Description copied from interface:DatasetGraphSet the default graph. This replaces the contents default graph, not merge data into it. Do not assume that the same object is returned byDatasetGraph.getDefaultGraph()- Specified by:
setDefaultGraphin interfaceDatasetGraph- Overrides:
setDefaultGraphin classDatasetGraphNull
-
addGraph
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
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
-