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
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 -
Method Summary
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, 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
-
DatasetGraphCollection
public DatasetGraphCollection()
-
-
Method Details
-
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
-
listGraphNodes
Description copied from interface:DatasetGraph
Iterate over all names of named graphs -
clear
public void clear()Description copied from interface:DatasetGraph
Remove everything - remove all named graphs, clear the default graph- Specified by:
clear
in interfaceDatasetGraph
- Overrides:
clear
in classDatasetGraphBase
-