public class AGGraphMaker extends Object implements GraphMaker, Closeable
| Constructor and Description |
|---|
AGGraphMaker(AGRepositoryConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AGGraph |
createGraph() |
AGGraph |
createGraph(String uri) |
AGGraph |
createGraph(String uri,
boolean strict) |
AGGraphUnion |
createUnion(AGGraph... graphs)
Returns a graph that is the union of specified graphs.
|
AGGraph |
getGraph() |
AGRepositoryConnection |
getRepositoryConnection() |
AGGraph |
getUnionOfAllGraphs()
Returns the union of all graphs (includes default graph).
|
boolean |
hasGraph(String uri) |
ExtendedIterator<String> |
listGraphs() |
AGGraph |
openGraph() |
AGGraph |
openGraph(String name) |
AGGraph |
openGraph(String uri,
boolean strict) |
void |
removeGraph(String uri) |
public AGGraphMaker(AGRepositoryConnection conn)
public AGRepositoryConnection getRepositoryConnection()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface GraphMakerpublic AGGraph getGraph()
getGraph in interface GraphMakerpublic AGGraph createGraph()
createGraph in interface GraphMakerpublic AGGraph createGraph(String uri)
createGraph in interface GraphMakerpublic AGGraph createGraph(String uri, boolean strict)
createGraph in interface GraphMakerpublic boolean hasGraph(String uri)
hasGraph in interface GraphMakerpublic ExtendedIterator<String> listGraphs()
listGraphs in interface GraphMakerpublic AGGraph openGraph()
openGraph in interface GraphMakerpublic AGGraph openGraph(String name)
openGraph in interface GraphMakerpublic AGGraph openGraph(String uri, boolean strict)
openGraph in interface GraphMakerpublic void removeGraph(String uri)
removeGraph in interface GraphMakerpublic AGGraph getUnionOfAllGraphs()
Add operations on this graph are housed in the default graph.
public AGGraphUnion createUnion(AGGraph... graphs)
graphs - the graphs in the unionCopyright © 2019 Franz Inc.. All rights reserved.