Package com.franz.agraph.jena
Class AGGraphMaker
java.lang.Object
com.franz.agraph.jena.AGGraphMaker
- All Implemented Interfaces:
Closeable,AutoCloseable,GraphMaker
Implements the Jena GraphMaker interface for AllegroGraph.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createGraph(String uri) createGraph(String uri, boolean strict) createUnion(AGGraph... graphs) Returns a graph that is the union of specified graphs.getGraph()Returns the union of all graphs (includes default graph).booleanDeprecated.names()Deprecated.voidremoveGraph(String uri)
-
Constructor Details
-
AGGraphMaker
-
-
Method Details
-
getRepositoryConnection
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceGraphMaker
-
getGraph
- Specified by:
getGraphin interfaceGraphMaker
-
createGraph
- Specified by:
createGraphin interfaceGraphMaker
-
createGraph
- Specified by:
createGraphin interfaceGraphMaker
-
createGraph
- Specified by:
createGraphin interfaceGraphMaker
-
hasGraph
- Specified by:
hasGraphin interfaceGraphMaker
-
listGraphs
Deprecated.- Specified by:
listGraphsin interfaceGraphMaker
-
openGraph
Deprecated.- Specified by:
openGraphin interfaceGraphMaker
-
names
-
openGraph
- Specified by:
openGraphin interfaceGraphMaker
-
openGraph
- Specified by:
openGraphin interfaceGraphMaker
-
removeGraph
- Specified by:
removeGraphin interfaceGraphMaker
-
getUnionOfAllGraphs
Returns the union of all graphs (includes default graph).Add operations on this graph are housed in the default graph.
- Returns:
- the union of all graphs.
-
createUnion
Returns a graph that is the union of specified graphs. By convention, the first graph mentioned will be used for add operations on the union. All other operations will apply to all graphs in the union. If no graphs are supplied, the union of all graphs is assumed, and add operations apply to the default graph.- Parameters:
graphs- the graphs in the union- Returns:
- the union of the specified graphs
-