Package org.apache.jena.sparql.core
Class DatasetGraphCollection
- java.lang.Object
-
- org.apache.jena.sparql.core.DatasetGraphBase
-
- org.apache.jena.sparql.core.DatasetGraphBaseFind
-
- org.apache.jena.sparql.core.DatasetGraphCollection
-
- All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable,DatasetGraph,Transactional
- Direct Known Subclasses:
DatasetGraphMapLink
public abstract class DatasetGraphCollection extends DatasetGraphBaseFind
Base class for implementations of a DatasetGraph as a set of graphs. This can be a fixed collection or a changeable collection depending on the implementation of getDefaultGraph()/getGraph(Node)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
Transactional.Promote
-
-
Constructor Summary
Constructors Constructor Description DatasetGraphCollection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidadd(Quad quad)Add a quadvoidclear()Remove everything - remove all named graphs, clear the default graphvoiddelete(Quad quad)Delete a quadabstract java.util.Iterator<Node>listGraphNodes()Iterate over all names of named graphs-
Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBaseFind
find, findInUnionGraph, findNG, findQuadsInUnionGraph
-
Methods inherited from class org.apache.jena.sparql.core.DatasetGraphBase
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, deleteAny, find, find, getContext, getDefaultGraph, getGraph, getLock, getUnionGraph, isEmpty, removeGraph, 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
-
add
public void add(Quad quad)
Description copied from interface:DatasetGraphAdd a quad- Specified by:
addin interfaceDatasetGraph- Overrides:
addin classDatasetGraphBase
-
delete
public void delete(Quad quad)
Description copied from interface:DatasetGraphDelete a quad- Specified by:
deletein interfaceDatasetGraph- Overrides:
deletein classDatasetGraphBase
-
listGraphNodes
public abstract java.util.Iterator<Node> listGraphNodes()
Description copied from interface:DatasetGraphIterate over all names of named graphs
-
clear
public void clear()
Description copied from interface:DatasetGraphRemove everything - remove all named graphs, clear the default graph- Specified by:
clearin interfaceDatasetGraph- Overrides:
clearin classDatasetGraphBase
-
-