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 Closeable
close
in interface AutoCloseable
close
in interface GraphMaker
public AGGraph getGraph()
getGraph
in interface GraphMaker
public AGGraph createGraph()
createGraph
in interface GraphMaker
public AGGraph createGraph(String uri)
createGraph
in interface GraphMaker
public AGGraph createGraph(String uri, boolean strict)
createGraph
in interface GraphMaker
public boolean hasGraph(String uri)
hasGraph
in interface GraphMaker
public ExtendedIterator<String> listGraphs()
listGraphs
in interface GraphMaker
public AGGraph openGraph()
openGraph
in interface GraphMaker
public AGGraph openGraph(String name)
openGraph
in interface GraphMaker
public AGGraph openGraph(String uri, boolean strict)
openGraph
in interface GraphMaker
public void removeGraph(String uri)
removeGraph
in interface GraphMaker
public 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.