public interface LineageGraph extends OpenLineageGraphConnector
| Modifier and Type | Method and Description |
|---|---|
void |
deleteClassification(Set<GraphContext> classificationContext)
Deletes an entity's classification in the Graph
|
void |
deleteEntity(String guid,
Object version)
/**
Deletes a vertex in the graph
|
void |
deleteRelationship(String guid)
Deletes a relationship in the graph
|
void |
schedulerTask()
Task that the scheduler performs based on the interval
|
void |
storeToGraph(Set<GraphContext> graphContext)
Stores a lineage event into the lineage graph database
|
void |
updateClassification(Set<GraphContext> classificationContext)
Updates an entity's classification in the Graph
|
void |
updateEntity(LineageEntity lineageEntity)
Updates a vertex in the Graph
|
void |
updateRelationship(LineageRelationship lineageRelationship)
Updates a vertex in the Graph
|
void |
upsertRelationship(LineageRelationship lineageRelationship)
Create or update the relationship between two edges
In case the vertexes are not created, they are firstly created
|
disconnect, initializeGraphDB, lineage, startvoid storeToGraph(Set<GraphContext> graphContext)
graphContext - graph Collectionvoid updateEntity(LineageEntity lineageEntity)
lineageEntity - entity to be updatedvoid upsertRelationship(LineageRelationship lineageRelationship)
lineageRelationship - relationship to be updated or createdvoid updateRelationship(LineageRelationship lineageRelationship)
lineageRelationship - relationship to be updatedvoid updateClassification(Set<GraphContext> classificationContext)
classificationContext - classification contextvoid deleteClassification(Set<GraphContext> classificationContext)
classificationContext - classification contextvoid deleteRelationship(String guid)
guid - unique identifier of the entity to be deletedvoid deleteEntity(String guid, Object version)
guid - unique identifier of the entity to be deletedversion - version of the entity to be deletedvoid schedulerTask()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.