public class AGGraphMaker extends Object implements GraphMaker, Closeable
| Constructor and Description |
|---|
AGGraphMaker(AGRepositoryConnection conn) |
AGGraphMaker(AGRepositoryConnection conn,
ReificationStyle style) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases system resources associated with the object.
|
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() |
ReificationStyle |
getReificationStyle() |
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 AGGraphMaker(AGRepositoryConnection conn, ReificationStyle style)
public AGRepositoryConnection getRepositoryConnection()
public void close()
Closeableclose in interface Closeableclose in interface GraphMakerCloseable.close()public 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 ReificationStyle getReificationStyle()
getReificationStyle 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()
public AGGraphUnion createUnion(AGGraph... graphs)
graphs - the graphs in the unionCopyright © 2017 Franz Inc.. All rights reserved.