Package org.apache.jena.sparql.graph
Class GraphSink
- java.lang.Object
-
- org.apache.jena.graph.impl.GraphBase
-
- org.apache.jena.sparql.graph.GraphSink
-
- All Implemented Interfaces:
Graph,GraphWithPerform
public class GraphSink extends GraphBase
Black hole graph - adds and deletes are silently ignored.- See Also:
GraphZero
-
-
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
Constructors Constructor Description GraphSink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionHandlergetTransactionHandler()static Graphinstance()voidperformAdd(Triple t)voidperformDelete(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
-
-
-
-
Method Detail
-
instance
public static Graph instance()
-
performAdd
public void performAdd(Triple t)
- Specified by:
performAddin interfaceGraphWithPerform- Overrides:
performAddin classGraphBase
-
performDelete
public void performDelete(Triple t)
- Specified by:
performDeletein interfaceGraphWithPerform- Overrides:
performDeletein classGraphBase
-
getTransactionHandler
public TransactionHandler getTransactionHandler()
- Specified by:
getTransactionHandlerin interfaceGraph- Overrides:
getTransactionHandlerin classGraphBase
-
-