Class OpenLineageSchemaHelper<C extends org.apache.tinkerpop.gremlin.structure.Element>
- java.lang.Object
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.factory.OpenLineageSchemaHelper<C>
-
public class OpenLineageSchemaHelper<C extends org.apache.tinkerpop.gremlin.structure.Element> extends Object
-
-
Constructor Summary
Constructors Constructor Description OpenLineageSchemaHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateCompositeIndexForProperty(org.janusgraph.core.JanusGraph graph, IndexProperties indexProperties)Creates the indexes for the properties of vertices.voidcreateIndexes(org.apache.tinkerpop.gremlin.driver.Client client)Create index commands for the graphvoidcreateIndexes(org.janusgraph.core.JanusGraph janusGraph)Set up the indexes for the Janus Graph instancevoidcreateLabels(org.apache.tinkerpop.gremlin.driver.Client client)Create the labels for vertices and edgesvoidcreateSchemas(org.janusgraph.core.JanusGraph janusGraph)Set up the indexes for the Janus Graph instance
-
-
-
Method Detail
-
createSchemas
public void createSchemas(org.janusgraph.core.JanusGraph janusGraph)
Set up the indexes for the Janus Graph instance- Parameters:
janusGraph- - Janus Graph instance
-
createIndexes
public void createIndexes(org.janusgraph.core.JanusGraph janusGraph)
Set up the indexes for the Janus Graph instance- Parameters:
janusGraph- - Janus Graph instance
-
createCompositeIndexForProperty
protected void createCompositeIndexForProperty(org.janusgraph.core.JanusGraph graph, IndexProperties indexProperties)Creates the indexes for the properties of vertices.- Parameters:
graph- - graph instance to create the indexesindexProperties- - properties for creating the index
-
createLabels
public void createLabels(org.apache.tinkerpop.gremlin.driver.Client client)
Create the labels for vertices and edges- Parameters:
client- - instance of the client for remote cluster
-
createIndexes
public void createIndexes(org.apache.tinkerpop.gremlin.driver.Client client)
Create index commands for the graph- Parameters:
client- - instance of the client for remote cluster
-
-