Class JenaOrCoreGraphFactory
java.lang.Object
org.nuxeo.ecm.platform.relations.jena.JenaOrCoreGraphFactory
- All Implemented Interfaces:
GraphFactory
A factory that detects if a Jena graph or a core graph should be used, and remembers it for future invocations.
A Jena graph is used if it contains at least one relation for the given graph.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateGraph
(GraphDescription graphDescription, CoreSession session) Creates an instance of the graph.
-
Field Details
-
testJenaGraph
-
-
Constructor Details
-
JenaOrCoreGraphFactory
public JenaOrCoreGraphFactory()
-
-
Method Details
-
createGraph
Description copied from interface:GraphFactory
Creates an instance of the graph.- Specified by:
createGraph
in interfaceGraphFactory
-