Package org.apache.jena.sparql.core
Class DatasetGraphQuads
- 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
public abstract class DatasetGraphQuads extends DatasetGraphBase
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 Constructor Description DatasetGraphQuads()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidadd(Quad quad)Add a quadabstract voiddelete(Quad quad)Delete a quadabstract java.util.Iterator<Quad>find(Node g, Node s, Node p, Node o)Find matching quads in the dataset (including default graph) - may include wildcards, Node.ANY or nullabstract java.util.Iterator<Quad>findNG(Node g, Node s, Node p, Node o)Find matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or nulljava.util.Iterator<Node>listGraphNodes()Iterate over all names of named graphsvoidremoveGraph(Node graphName)Remove all data associated with the named graph.-
Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
add, addGraph, 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, 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
-
-
-
-
Method Detail
-
listGraphNodes
public java.util.Iterator<Node> listGraphNodes()
Description copied from interface:DatasetGraphIterate over all names of named graphs
-
removeGraph
public void removeGraph(Node graphName)
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
-
find
public abstract java.util.Iterator<Quad> find(Node g, Node s, Node p, Node o)
Description copied from interface:DatasetGraphFind matching quads in the dataset (including default graph) - may include wildcards, Node.ANY or null- See Also:
Graph.find(Node,Node,Node)
-
findNG
public abstract java.util.Iterator<Quad> findNG(Node g, Node s, Node p, Node o)
Description copied from interface:DatasetGraphFind matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or null- See Also:
Graph.find(Node,Node,Node)
-
add
public abstract void add(Quad quad)
Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphBase
-
delete
public abstract void delete(Quad quad)
Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphBase
-
-