Class OpenLineageSchemaHelper<C extends org.apache.tinkerpop.gremlin.structure.Element>

java.lang.Object
org.odpi.openmetadata.openconnectors.governancedaemonconnectors.lineagewarehouseconnectors.janusconnector.factory.OpenLineageSchemaHelper<C>

public class OpenLineageSchemaHelper<C extends org.apache.tinkerpop.gremlin.structure.Element> extends Object
  • Constructor Details

    • OpenLineageSchemaHelper

      public OpenLineageSchemaHelper()
  • Method Details

    • 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 indexes
      indexProperties - - 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