public class GraphReadOnly extends WrappedGraph
emptyGraph
Constructor and Description |
---|
GraphReadOnly(Graph graph) |
Modifier and Type | Method and Description |
---|---|
void |
add(Triple t) |
void |
clear() |
void |
delete(Triple t) |
TransactionHandler |
getTransactionHandler() |
void |
performAdd(Triple t) |
void |
performDelete(Triple t) |
void |
remove(Node s,
Node p,
Node o) |
close, contains, contains, dependsOn, find, find, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getWrapped, isClosed, isEmpty, isIsomorphicWith, size
public GraphReadOnly(Graph graph)
public void add(Triple t) throws AddDeniedException
add
in interface Graph
add
in class WrappedGraph
AddDeniedException
public void performAdd(Triple t) throws AddDeniedException
performAdd
in interface GraphWithPerform
performAdd
in class WrappedGraph
AddDeniedException
public void delete(Triple t) throws DeleteDeniedException
delete
in interface Graph
delete
in class WrappedGraph
DeleteDeniedException
public void performDelete(Triple t) throws DeleteDeniedException
performDelete
in interface GraphWithPerform
performDelete
in class WrappedGraph
DeleteDeniedException
public void remove(Node s, Node p, Node o)
remove
in interface Graph
remove
in class WrappedGraph
public void clear()
clear
in interface Graph
clear
in class WrappedGraph
public TransactionHandler getTransactionHandler()
getTransactionHandler
in interface Graph
getTransactionHandler
in class WrappedGraph
Licenced under the Apache License, Version 2.0