Class GraphFactory
- java.lang.Object
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.factory.IndexingFactory
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.factory.GraphFactory
-
public class GraphFactory extends IndexingFactory
-
-
Constructor Summary
Constructors Constructor Description GraphFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseGraph()Closes the graph instance.booleanisSupportingTransactions()org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSourceopenGraph(String providerClass, ConnectionProperties connectionProperties, AuditLog auditLog)Set the config for Janus Graph.-
Methods inherited from class org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.factory.IndexingFactory
createCompositeIndexForProperty
-
-
-
-
Method Detail
-
openGraph
public org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource openGraph(String providerClass, ConnectionProperties connectionProperties, AuditLog auditLog) throws JanusConnectorException
Set the config for Janus Graph.- Parameters:
providerClass- - Provider Class name to be usedconnectionProperties- - POJO for the configuration used to create the connector.auditLog- - Used for logging errors- Returns:
- GraphTraversalSource DSL of Gremlin
- Throws:
JanusConnectorException- if init fails
-
closeGraph
public void closeGraph()
Closes the graph instance.
-
isSupportingTransactions
public boolean isSupportingTransactions()
-
-