public class DatasetGraphReadOnly extends DatasetGraphWrapper
Transactional.Promote| Constructor and Description |
|---|
DatasetGraphReadOnly(DatasetGraph dsg) |
DatasetGraphReadOnly(DatasetGraph dsg,
Context cxt) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(ReadWrite mode)
Start either a READ or WRITE transaction.
|
void |
close()
Close the dataset
|
Graph |
getDefaultGraph()
Get the default graph as a Jena Graph
|
Graph |
getGraph(Node graphNode)
Get the graph named by graphNode : returns null when there is no such graph.
|
abort, add, add, addGraph, begin, begin, clear, commit, contains, contains, containsGraph, delete, delete, deleteAny, end, find, find, find, findNG, getBase, getBaseForQuery, getContext, getLock, getUnionGraph, getWrapped, isEmpty, isInTransaction, listGraphNodes, promote, promote, removeGraph, setDefaultGraph, size, supportsTransactionAbort, supportsTransactions, sync, toString, transactionMode, transactionTypepublic DatasetGraphReadOnly(DatasetGraph dsg)
public DatasetGraphReadOnly(DatasetGraph dsg, Context cxt)
public Graph getDefaultGraph()
DatasetGraphgetDefaultGraph in interface DatasetGraphgetDefaultGraph in class DatasetGraphWrapperpublic void begin(ReadWrite mode)
Transactionalbegin in interface Transactionalbegin in class DatasetGraphWrapperpublic Graph getGraph(Node graphNode)
DatasetGraphgetGraph in interface DatasetGraphgetGraph in class DatasetGraphWrapperpublic void close()
DatasetGraphclose in interface org.apache.jena.atlas.lib.Closeableclose in interface DatasetGraphclose in class DatasetGraphWrapperLicenced under the Apache License, Version 2.0