java.lang.Object
org.apache.jena.graph.impl.GraphBase
org.apache.jena.sparql.graph.GraphSink
- All Implemented Interfaces:
org.apache.jena.graph.Graph
,org.apache.jena.graph.impl.GraphWithPerform
public class GraphSink
extends org.apache.jena.graph.impl.GraphBase
A graph that performs adds and deletes by silently ignoring them.
-
Field Summary
Fields inherited from class org.apache.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.TransactionHandler
static org.apache.jena.graph.Graph
instance()
void
performAdd
(org.apache.jena.graph.Triple t) void
performDelete
(org.apache.jena.graph.Triple t) Methods inherited from class org.apache.jena.graph.impl.GraphBase
add, clear, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jena.graph.Graph
add, delete, find, sizeLong, stream, stream
-
Constructor Details
-
GraphSink
public GraphSink()
-
-
Method Details
-
instance
public static org.apache.jena.graph.Graph instance() -
performAdd
public void performAdd(org.apache.jena.graph.Triple t) - Specified by:
performAdd
in interfaceorg.apache.jena.graph.impl.GraphWithPerform
- Overrides:
performAdd
in classorg.apache.jena.graph.impl.GraphBase
-
performDelete
public void performDelete(org.apache.jena.graph.Triple t) - Specified by:
performDelete
in interfaceorg.apache.jena.graph.impl.GraphWithPerform
- Overrides:
performDelete
in classorg.apache.jena.graph.impl.GraphBase
-
getTransactionHandler
public org.apache.jena.graph.TransactionHandler getTransactionHandler()- Specified by:
getTransactionHandler
in interfaceorg.apache.jena.graph.Graph
- Overrides:
getTransactionHandler
in classorg.apache.jena.graph.impl.GraphBase
-