public class DatasetGraphSink extends DatasetGraphNull
DatasetGraph that accepts changes but ignores them.- a DSG that does not allow changes.Transactional.Promote| Constructor and Description |
|---|
DatasetGraphSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Quad quad)
Add a quad
|
void |
addGraph(Node graphName,
Graph graph)
Add the given graph to the dataset.
|
static DatasetGraph |
create() |
void |
delete(Quad quad)
Delete a quad
|
void |
deleteAny(Node g,
Node s,
Node p,
Node o)
Delete any quads matching the pattern
|
void |
removeGraph(Node graphName)
Remove all data associated with the named graph.
|
void |
setDefaultGraph(Graph g)
Set the default graph.
|
abort, begin, begin, begin, commit, end, getDefaultGraph, getGraph, getUnionGraph, isInTransaction, listGraphNodes, promote, supportsTransactionAbort, supportsTransactions, transactionMode, transactionTypefind, findInUnionGraph, findNG, findQuadsInUnionGraphadd, clear, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, size, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpromotepublic static DatasetGraph create()
public void add(Quad quad)
DatasetGraphadd in interface DatasetGraphadd in class DatasetGraphNullpublic void delete(Quad quad)
DatasetGraphdelete in interface DatasetGraphdelete in class DatasetGraphNullpublic void deleteAny(Node g, Node s, Node p, Node o)
DatasetGraphdeleteAny in interface DatasetGraphdeleteAny in class DatasetGraphNullpublic void setDefaultGraph(Graph g)
DatasetGraphDatasetGraph.getDefaultGraph()setDefaultGraph in interface DatasetGraphsetDefaultGraph in class DatasetGraphNullpublic void addGraph(Node graphName, Graph graph)
DatasetGraphDatasetGraph.getGraph(org.apache.jena.graph.Node)addGraph in interface DatasetGraphaddGraph in class DatasetGraphNullpublic void removeGraph(Node graphName)
DatasetGraphremoveGraph in interface DatasetGraphremoveGraph in class DatasetGraphNullLicenced under the Apache License, Version 2.0