java.lang.Object
org.apache.jena.sparql.core.DatasetGraphWrapper
org.apache.jena.sparql.core.DatasetGraphMonitor
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,org.apache.jena.atlas.lib.Sync
,DatasetGraph
,Transactional
Deprecated.
Do not use. This class does not reflect transactions.
Connect a DatasetGraph to a DatasetChanges monitor.
Any add or delete to the DatasetGraph is notified to the
monitoring object with a
QuadAction
to indicate
the change made.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
Transactional.Promote
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Add a quadvoid
Deprecated.Add a quadvoid
Deprecated.Add the given graph to the dataset.void
Deprecated.Delete a quadvoid
Deprecated.Delete a quadvoid
Deprecated.Delete any quads matching the patternDeprecated.Get the default graph as a Jena GraphDeprecated.Get the graph named by graphNode : returns null when there is no such graph.Deprecated.Return the monitorDeprecated.Return the monitored DatasetGraphvoid
removeGraph
(Node gn) Deprecated.Remove all data associated with the named graph.void
sync()
Deprecated.Methods inherited from class org.apache.jena.sparql.core.DatasetGraphWrapper
abort, begin, begin, begin, clear, close, commit, contains, contains, containsGraph, end, find, find, find, findNG, getBase, getBaseForQuery, getContext, getLock, getUnionGraph, getWrapped, isEmpty, isInTransaction, listGraphNodes, prefixes, promote, promote, setDefaultGraph, size, supportsTransactionAbort, supportsTransactions, toString, transactionMode, transactionType, unwrap
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
calc, calculate, calculateRead, calculateWrite, exec, execute, executeRead, executeWrite
-
Method Details
-
getMonitor
Deprecated.Return the monitor -
monitored
Deprecated.Return the monitored DatasetGraph -
add
Deprecated.Description copied from interface:DatasetGraph
Add a quad- Specified by:
add
in interfaceDatasetGraph
- Overrides:
add
in classDatasetGraphWrapper
-
add
Deprecated.Description copied from interface:DatasetGraph
Add a quad- Specified by:
add
in interfaceDatasetGraph
- Overrides:
add
in classDatasetGraphWrapper
-
delete
Deprecated.Description copied from interface:DatasetGraph
Delete a quad- Specified by:
delete
in interfaceDatasetGraph
- Overrides:
delete
in classDatasetGraphWrapper
-
delete
Deprecated.Description copied from interface:DatasetGraph
Delete a quad- Specified by:
delete
in interfaceDatasetGraph
- Overrides:
delete
in classDatasetGraphWrapper
-
deleteAny
Deprecated.Description copied from interface:DatasetGraph
Delete any quads matching the pattern- Specified by:
deleteAny
in interfaceDatasetGraph
- Overrides:
deleteAny
in classDatasetGraphWrapper
-
addGraph
Deprecated.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 classDatasetGraphWrapper
-
removeGraph
Deprecated.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 classDatasetGraphWrapper
-
sync
public void sync()Deprecated.- Specified by:
sync
in interfaceorg.apache.jena.atlas.lib.Sync
- Overrides:
sync
in classDatasetGraphWrapper
-
getDefaultGraph
Deprecated.Description copied from interface:DatasetGraph
Get the default graph as a Jena Graph- Specified by:
getDefaultGraph
in interfaceDatasetGraph
- Overrides:
getDefaultGraph
in classDatasetGraphWrapper
-
getGraph
Deprecated.Description copied from interface:DatasetGraph
Get the graph named by graphNode : returns null when there is no such graph. NB Whether a dataset contains a graph if there are no triples is not defined - see the specific implementation. Some datasets are "open" - they have all graphs even if no triples.- Specified by:
getGraph
in interfaceDatasetGraph
- Overrides:
getGraph
in classDatasetGraphWrapper
-