java.lang.Object
org.apache.jena.sparql.core.DatasetGraphBase
org.apache.jena.sparql.core.DatasetGraphBaseFind
org.apache.jena.sparql.core.DatasetGraphTriplesQuads
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,DatasetGraph,Transactional
- Direct Known Subclasses:
BufferingDatasetGraph,DatasetGraphInMemory,DatasetGraphMap
A DatasetGraph base class for triples+quads storage.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
Transactional.Promote -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidAdd a quadfinal voidAdd a quadvoidAdd the given graph to the dataset.final voidDelete a quadfinal voidDelete a quadvoidremoveGraph(Node graphName) Remove all data associated with the named graph.voidsetDefaultGraph(Graph graph) Deprecated.Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBaseFind
find, findInUnionGraph, findNG, findQuadsInUnionGraphMethods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
clear, close, contains, contains, containsGraph, deleteAny, deleteAny, find, find, getContext, getDefaultGraph, getGraph, getLock, getUnionGraph, 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, listGraphNodes, prefixes, stream, stream, supportsTransactionAbort, supportsTransactionsMethods inherited from interface org.apache.jena.sparql.core.Transactional
abort, begin, begin, begin, calc, calculate, calculateRead, calculateWrite, commit, end, exec, execute, executeRead, executeWrite, isInTransaction, promote, promote, transactionMode, transactionType
-
Constructor Details
-
DatasetGraphTriplesQuads
public DatasetGraphTriplesQuads()
-
-
Method Details
-
add
Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphBase
-
delete
Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphBase
-
add
Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphBase
-
delete
Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphBase
-
setDefaultGraph
Deprecated.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 classDatasetGraphBase
-
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- Specified by:
addGraphin classDatasetGraphBase
-
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- Specified by:
removeGraphin classDatasetGraphBase
-