com.hp.hpl.jena.sparql.graph
Class GraphWrapper
java.lang.Object
com.hp.hpl.jena.sparql.graph.GraphWrapper
- All Implemented Interfaces:
- Graph, GraphAdd
public class GraphWrapper
- extends Object
- implements Graph
Graph wrapper
GraphWrapper
public GraphWrapper(Graph graph)
get
public Graph get()
add
public void add(Triple t)
throws AddDeniedException
- Specified by:
add
in interface GraphAdd
- Throws:
AddDeniedException
dependsOn
public boolean dependsOn(Graph other)
- Specified by:
dependsOn
in interface Graph
queryHandler
public QueryHandler queryHandler()
- Specified by:
queryHandler
in interface Graph
getTransactionHandler
public TransactionHandler getTransactionHandler()
- Specified by:
getTransactionHandler
in interface Graph
getBulkUpdateHandler
public BulkUpdateHandler getBulkUpdateHandler()
- Specified by:
getBulkUpdateHandler
in interface Graph
getCapabilities
public Capabilities getCapabilities()
- Specified by:
getCapabilities
in interface Graph
getEventManager
public GraphEventManager getEventManager()
- Specified by:
getEventManager
in interface Graph
getStatisticsHandler
public GraphStatisticsHandler getStatisticsHandler()
- Specified by:
getStatisticsHandler
in interface Graph
getReifier
public Reifier getReifier()
- Specified by:
getReifier
in interface Graph
getPrefixMapping
public PrefixMapping getPrefixMapping()
- Specified by:
getPrefixMapping
in interface Graph
delete
public void delete(Triple t)
throws DeleteDeniedException
- Specified by:
delete
in interface Graph
- Throws:
DeleteDeniedException
find
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch m)
- Specified by:
find
in interface Graph
find
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(Node s,
Node p,
Node o)
- Specified by:
find
in interface Graph
isIsomorphicWith
public boolean isIsomorphicWith(Graph g)
- Specified by:
isIsomorphicWith
in interface Graph
contains
public boolean contains(Node s,
Node p,
Node o)
- Specified by:
contains
in interface Graph
contains
public boolean contains(Triple t)
- Specified by:
contains
in interface Graph
close
public void close()
- Specified by:
close
in interface Graph
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Graph
size
public int size()
- Specified by:
size
in interface Graph
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface Graph
Licenced under the Apache License, Version 2.0