public class GraphFactory extends IndexingFactory
| Constructor and Description |
|---|
GraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeGraph()
Closes the graph instance.
|
boolean |
isSupportingTransactions() |
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
openGraph(String providerClass,
ConnectionProperties connectionProperties,
AuditLog auditLog)
Set the config for Janus Graph.
|
createCompositeIndexForPropertypublic org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource openGraph(String providerClass, ConnectionProperties connectionProperties, AuditLog auditLog) throws JanusConnectorException
providerClass - - Provider Class name to be usedconnectionProperties - - POJO for the configuration used to create the connector.auditLog - - Used for logging errorsJanusConnectorException - if init failspublic void closeGraph()
public boolean isSupportingTransactions()
Copyright © 2018–2020 ODPi. All rights reserved.