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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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).boolean
Deprecated.names()
Deprecated.void
removeGraph
(String uri)
-
Constructor Details
-
AGGraphMaker
-
-
Method Details
-
getRepositoryConnection
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceGraphMaker
-
getGraph
- Specified by:
getGraph
in interfaceGraphMaker
-
createGraph
- Specified by:
createGraph
in interfaceGraphMaker
-
createGraph
- Specified by:
createGraph
in interfaceGraphMaker
-
createGraph
- Specified by:
createGraph
in interfaceGraphMaker
-
hasGraph
- Specified by:
hasGraph
in interfaceGraphMaker
-
listGraphs
Deprecated.- Specified by:
listGraphs
in interfaceGraphMaker
-
openGraph
Deprecated.- Specified by:
openGraph
in interfaceGraphMaker
-
names
-
openGraph
- Specified by:
openGraph
in interfaceGraphMaker
-
openGraph
- Specified by:
openGraph
in interfaceGraphMaker
-
removeGraph
- Specified by:
removeGraph
in 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
-