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, findQuadsInUnionGraphMethods 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, 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, 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
-
DatasetGraphCollection
public DatasetGraphCollection()
-
-
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
-
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
-