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 TypeMethodDescriptionvoidDeprecated.Add a quadvoidDeprecated.Add a quadvoidDeprecated.Add the given graph to the dataset.voidDeprecated.Delete a quadvoidDeprecated.Delete a quadvoidDeprecated.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 DatasetGraphvoidremoveGraph(Node gn) Deprecated.Remove all data associated with the named graph.voidsync()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, unwrapMethods 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
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:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphWrapper
-
add
Deprecated.Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphWrapper
-
delete
Deprecated.Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphWrapper
-
delete
Deprecated.Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphWrapper
-
deleteAny
Deprecated.Description copied from interface:DatasetGraphDelete any quads matching the pattern- Specified by:
deleteAnyin interfaceDatasetGraph- Overrides:
deleteAnyin classDatasetGraphWrapper
-
addGraph
Deprecated.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 classDatasetGraphWrapper
-
removeGraph
Deprecated.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 classDatasetGraphWrapper
-
sync
public void sync()Deprecated.- Specified by:
syncin interfaceorg.apache.jena.atlas.lib.Sync- Overrides:
syncin classDatasetGraphWrapper
-
getDefaultGraph
Deprecated.Description copied from interface:DatasetGraphGet the default graph as a Jena Graph- Specified by:
getDefaultGraphin interfaceDatasetGraph- Overrides:
getDefaultGraphin classDatasetGraphWrapper
-
getGraph
Deprecated.Description copied from interface:DatasetGraphGet 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:
getGraphin interfaceDatasetGraph- Overrides:
getGraphin classDatasetGraphWrapper
-