java.lang.Object
org.odpi.openmetadata.governanceservers.openlineage.services.StoringServices

public class StoringServices extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    StoringServices(org.odpi.openmetadata.governanceservers.openlineage.graph.LineageGraph graphStore)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addEntityContext(Set<org.odpi.openmetadata.accessservices.assetlineage.model.GraphContext> relationships)
    Delegates the call for the creation of entities and relationships to the connector
    void
    addEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
    Delegates the call for the creation of entities and relationships to the connector
    void
    apply(org.odpi.openmetadata.accessservices.assetlineage.event.LineageSyncEvent lineageSyncEvent)
    Applies lineageSyncEvent using lineage storage connector.
    void
    deleteClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
    Delegates the call to delete a classification to the connector
    void
    deleteEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent)
    Delegates the call for the deletion of an entity to the connector
    void
    deleteRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
     
    Check entity existence boolean in the graph through the lineage connector.
    void
    updateClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
    Delegates the call for the update of a classification to the connector
    void
    updateEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent)
    Delegates the call for the update of an entity to the connector
    void
    updateRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
    Delegates the call for the update of a relationship to the connector
    void
    upsertEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
    Delegates the call for the creation of entities and relationships to the connector
    void
    upsertRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
    Delegates the call for creating or adding a relationship to the connector

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StoringServices

      public StoringServices(org.odpi.openmetadata.governanceservers.openlineage.graph.LineageGraph graphStore)
  • Method Details

    • addEntityContext

      public void addEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
      Delegates the call for the creation of entities and relationships to the connector
    • upsertEntityContext

      public void upsertEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
      Delegates the call for the creation of entities and relationships to the connector
    • addEntityContext

      public void addEntityContext(Set<org.odpi.openmetadata.accessservices.assetlineage.model.GraphContext> relationships)
      Delegates the call for the creation of entities and relationships to the connector
    • updateEntity

      public void updateEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent)
      Delegates the call for the update of an entity to the connector
    • updateRelationship

      public void updateRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
      Delegates the call for the update of a relationship to the connector
    • updateClassification

      public void updateClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
      Delegates the call for the update of a classification to the connector
    • deleteEntity

      public void deleteEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent)
      Delegates the call for the deletion of an entity to the connector
    • deleteRelationship

      public void deleteRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
    • upsertRelationship

      public void upsertRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent)
      Delegates the call for creating or adding a relationship to the connector
      Parameters:
      lineageRelationshipEvent - the transformed event based on which the relationship will be created
    • deleteClassification

      public void deleteClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent)
      Delegates the call to delete a classification to the connector
    • apply

      public void apply(org.odpi.openmetadata.accessservices.assetlineage.event.LineageSyncEvent lineageSyncEvent)
      Applies lineageSyncEvent using lineage storage connector.
      Parameters:
      lineageSyncEvent - event to be delegated to the respective connector interface.
    • isEntityInGraph

      public Boolean isEntityInGraph(String guid)
      Check entity existence boolean in the graph through the lineage connector.
      Parameters:
      guid - the guid
      Returns:
      the boolean