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()
Closeable
close
in interface Closeable
close
in interface GraphMaker
Closeable.close()
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 ReificationStyle getReificationStyle()
getReificationStyle
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()
public AGGraphUnion createUnion(AGGraph... graphs)
graphs
- the graphs in the unionCopyright © 2017 Franz Inc.. All rights reserved.