public class LineageGraphConnector extends LineageGraphConnectorBase
ConnectorBase.ProtectedConnectionconnectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, isActive, securedProperties| Constructor and Description |
|---|
LineageGraphConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteClassification(Set<GraphContext> classificationContext)
Deletes a classification of a vertex
|
void |
deleteEntity(String guid,
Object version) |
void |
deleteRelationship(String guid) |
void |
disconnect() |
void |
initializeGraphDB(AuditLog auditLog)
Instantiates the graph based on the configuration passed.
|
LineageResponse |
lineage(Scope scope,
String guid,
String displayNameMustContain,
boolean includeProcesses) |
void |
schedulerTask() |
void |
storeToGraph(Set<GraphContext> graphContext)
Creates vertices and the relationships between them
|
void |
updateClassification(Set<GraphContext> classificationContext)
Updates the classification of a vertex
|
void |
updateEntity(LineageEntity lineageEntity)
Updates the properties of a vertex
|
void |
updateRelationship(LineageRelationship lineageRelationship)
Updates the properties of an edge
|
void |
upsertRelationship(LineageRelationship lineageRelationship)
Create or update the relationship between two edges
In case the vertexes are not created, they are firstly created
|
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, start, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitstartpublic void initializeGraphDB(AuditLog auditLog) throws OpenLineageException
initializeGraphDB in interface OpenLineageGraphConnectorinitializeGraphDB in class LineageGraphConnectorBaseOpenLineageExceptionpublic void disconnect()
disconnect in interface OpenLineageGraphConnectordisconnect in class ConnectorBasepublic void schedulerTask()
public void storeToGraph(Set<GraphContext> graphContext)
storeToGraph in interface LineageGraphstoreToGraph in class LineageGraphConnectorBasegraphContext - - graph Collection that contains vertices and edges to be storedpublic void updateEntity(LineageEntity lineageEntity)
updateEntity in interface LineageGraphupdateEntity in class LineageGraphConnectorBaselineageEntity - - LineageEntity object that has the updated valuespublic void upsertRelationship(LineageRelationship lineageRelationship)
upsertRelationship in interface LineageGraphupsertRelationship in class LineageGraphConnectorBaselineageRelationship - relationship to be updated or createdpublic void updateRelationship(LineageRelationship lineageRelationship)
updateRelationship in interface LineageGraphupdateRelationship in class LineageGraphConnectorBaselineageRelationship - - lineageRelationship object that has the updated valuespublic void updateClassification(Set<GraphContext> classificationContext)
updateClassification in interface LineageGraphupdateClassification in class LineageGraphConnectorBaseclassificationContext - - LineageEntity object that has the updated valuespublic void deleteClassification(Set<GraphContext> classificationContext)
deleteClassification in interface LineageGraphdeleteClassification in class LineageGraphConnectorBaseclassificationContext - - any remaining classifications, empty map if nonepublic void deleteEntity(String guid, Object version)
deleteEntity in interface LineageGraphdeleteEntity in class LineageGraphConnectorBasepublic void deleteRelationship(String guid)
deleteRelationship in interface LineageGraphdeleteRelationship in class LineageGraphConnectorBasepublic LineageResponse lineage(Scope scope, String guid, String displayNameMustContain, boolean includeProcesses)
Copyright © 2018–2020 ODPi. All rights reserved.