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 TypeMethodDescriptionvoid
Add a quadvoid
Add the given graph to the dataset.static DatasetGraph
create()
void
Delete a quadvoid
Delete any quads matching the patternprefixes()
Prefixes for this DatasetGraphvoid
removeGraph
(Node graphName) Remove all data associated with the named graph.void
Set 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, transactionType
Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBaseFind
find, findInUnionGraph, findNG, findQuadsInUnionGraph
Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
add, clear, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, size, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jena.sparql.core.DatasetGraph
addAll, stream, stream
Methods 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:DatasetGraph
Add a quad- Specified by:
add
in interfaceDatasetGraph
- Overrides:
add
in classDatasetGraphNull
-
delete
Description copied from interface:DatasetGraph
Delete a quad- Specified by:
delete
in interfaceDatasetGraph
- Overrides:
delete
in classDatasetGraphNull
-
deleteAny
Description copied from interface:DatasetGraph
Delete any quads matching the pattern- Specified by:
deleteAny
in interfaceDatasetGraph
- Overrides:
deleteAny
in classDatasetGraphNull
-
setDefaultGraph
Description copied from interface:DatasetGraph
Set 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:
setDefaultGraph
in interfaceDatasetGraph
- Overrides:
setDefaultGraph
in classDatasetGraphNull
-
addGraph
Description copied from interface:DatasetGraph
Add 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:
addGraph
in interfaceDatasetGraph
- Overrides:
addGraph
in classDatasetGraphNull
-
removeGraph
Description copied from interface:DatasetGraph
Remove all data associated with the named graph. This will include prefixes associated with the graph.- Specified by:
removeGraph
in interfaceDatasetGraph
- Overrides:
removeGraph
in classDatasetGraphNull
-
prefixes
Description copied from interface:DatasetGraph
Prefixes for this DatasetGraph
-