java.lang.Object
org.apache.jena.sparql.graph.GraphWrapper
- All Implemented Interfaces:
org.apache.jena.graph.Graph
- Direct Known Subclasses:
BufferingGraph
,GraphRDFS
,GraphTxn
Graph wrapper
-
Field Summary
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(org.apache.jena.graph.Triple t) void
clear()
void
close()
boolean
contains
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) boolean
contains
(org.apache.jena.graph.Triple t) void
delete
(org.apache.jena.graph.Triple t) boolean
dependsOn
(org.apache.jena.graph.Graph other) org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
find
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple>
find
(org.apache.jena.graph.Triple triple) org.apache.jena.graph.Graph
get()
org.apache.jena.graph.Capabilities
org.apache.jena.graph.GraphEventManager
org.apache.jena.shared.PrefixMapping
org.apache.jena.graph.TransactionHandler
boolean
isClosed()
boolean
isEmpty()
boolean
isIsomorphicWith
(org.apache.jena.graph.Graph g) void
remove
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) int
size()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.jena.graph.Graph
add, delete, find, sizeLong, stream, stream
-
Constructor Details
-
GraphWrapper
public GraphWrapper(org.apache.jena.graph.Graph graph)
-
-
Method Details
-
get
public org.apache.jena.graph.Graph get() -
add
public void add(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.AddDeniedException - Specified by:
add
in interfaceorg.apache.jena.graph.Graph
- Throws:
org.apache.jena.shared.AddDeniedException
-
dependsOn
public boolean dependsOn(org.apache.jena.graph.Graph other) - Specified by:
dependsOn
in interfaceorg.apache.jena.graph.Graph
-
getTransactionHandler
public org.apache.jena.graph.TransactionHandler getTransactionHandler()- Specified by:
getTransactionHandler
in interfaceorg.apache.jena.graph.Graph
-
getCapabilities
public org.apache.jena.graph.Capabilities getCapabilities()- Specified by:
getCapabilities
in interfaceorg.apache.jena.graph.Graph
-
getEventManager
public org.apache.jena.graph.GraphEventManager getEventManager()- Specified by:
getEventManager
in interfaceorg.apache.jena.graph.Graph
-
getPrefixMapping
public org.apache.jena.shared.PrefixMapping getPrefixMapping()- Specified by:
getPrefixMapping
in interfaceorg.apache.jena.graph.Graph
-
delete
public void delete(org.apache.jena.graph.Triple t) throws org.apache.jena.shared.DeleteDeniedException - Specified by:
delete
in interfaceorg.apache.jena.graph.Graph
- Throws:
org.apache.jena.shared.DeleteDeniedException
-
find
public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Triple triple) - Specified by:
find
in interfaceorg.apache.jena.graph.Graph
-
find
public org.apache.jena.util.iterator.ExtendedIterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) - Specified by:
find
in interfaceorg.apache.jena.graph.Graph
-
isIsomorphicWith
public boolean isIsomorphicWith(org.apache.jena.graph.Graph g) - Specified by:
isIsomorphicWith
in interfaceorg.apache.jena.graph.Graph
-
contains
public boolean contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) - Specified by:
contains
in interfaceorg.apache.jena.graph.Graph
-
contains
public boolean contains(org.apache.jena.graph.Triple t) - Specified by:
contains
in interfaceorg.apache.jena.graph.Graph
-
close
public void close()- Specified by:
close
in interfaceorg.apache.jena.graph.Graph
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceorg.apache.jena.graph.Graph
-
size
public int size()- Specified by:
size
in interfaceorg.apache.jena.graph.Graph
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceorg.apache.jena.graph.Graph
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.jena.graph.Graph
-
remove
public void remove(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) - Specified by:
remove
in interfaceorg.apache.jena.graph.Graph
-