java.lang.Object
org.apache.jena.sparql.core.DatasetGraphBase
org.apache.jena.sparql.core.DatasetGraphQuads
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable
,DatasetGraph
,Transactional
A DatasetGraph base class for pure quad-centric 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 TypeMethodDescriptionabstract void
Add a quadvoid
Add the given graph to the dataset.abstract void
Delete a quadFind matching quads in the dataset (including default graph) - may include wildcards, Node.ANY or nullFind matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or nullIterate over all names of named graphsvoid
removeGraph
(Node graphName) Remove all data associated with the named graph.Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
add, clear, close, contains, contains, containsGraph, delete, deleteAny, deleteAny, find, find, getContext, getDefaultGraph, getGraph, getLock, getUnionGraph, isEmpty, setDefaultGraph, 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, prefixes, stream, stream, supportsTransactionAbort, supportsTransactions
Methods 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
-
DatasetGraphQuads
public DatasetGraphQuads()
-
-
Method Details
-
listGraphNodes
Description copied from interface:DatasetGraph
Iterate over all names of named graphs -
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
- Specified by:
removeGraph
in classDatasetGraphBase
-
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
- Specified by:
addGraph
in classDatasetGraphBase
-
find
Description copied from interface:DatasetGraph
Find matching quads in the dataset (including default graph) - may include wildcards, Node.ANY or null- See Also:
-
findNG
Description copied from interface:DatasetGraph
Find matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or null- See Also:
-
add
Description copied from interface:DatasetGraph
Add a quad- Specified by:
add
in interfaceDatasetGraph
- Overrides:
add
in classDatasetGraphBase
-
delete
Description copied from interface:DatasetGraph
Delete a quad- Specified by:
delete
in interfaceDatasetGraph
- Overrides:
delete
in classDatasetGraphBase
-