Class StoringServices
java.lang.Object
org.odpi.openmetadata.governanceservers.openlineage.services.StoringServices
-
Constructor Summary
ConstructorsConstructorDescriptionStoringServices(org.odpi.openmetadata.governanceservers.openlineage.graph.LineageGraph graphStore) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntityContext(Set<org.odpi.openmetadata.accessservices.assetlineage.model.GraphContext> relationships) Delegates the call for the creation of entities and relationships to the connectorvoidaddEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent) Delegates the call for the creation of entities and relationships to the connectorvoidapply(org.odpi.openmetadata.accessservices.assetlineage.event.LineageSyncEvent lineageSyncEvent) Applies lineageSyncEvent using lineage storage connector.voiddeleteClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent) Delegates the call to delete a classification to the connectorvoiddeleteEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent) Delegates the call for the deletion of an entity to the connectorvoiddeleteRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent) isEntityInGraph(String guid) Check entity existence boolean in the graph through the lineage connector.voidupdateClassification(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent) Delegates the call for the update of a classification to the connectorvoidupdateEntity(org.odpi.openmetadata.accessservices.assetlineage.event.LineageEntityEvent lineageEntityEvent) Delegates the call for the update of an entity to the connectorvoidupdateRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent) Delegates the call for the update of a relationship to the connectorvoidupsertEntityContext(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipsEvent lineageRelationshipsEvent) Delegates the call for the creation of entities and relationships to the connectorvoidupsertRelationship(org.odpi.openmetadata.accessservices.assetlineage.event.LineageRelationshipEvent lineageRelationshipEvent) Delegates the call for creating or adding a relationship to the connector
-
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
Check entity existence boolean in the graph through the lineage connector.- Parameters:
guid- the guid- Returns:
- the boolean
-