Class LineageGraphConnector
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.Connector
-
- org.odpi.openmetadata.frameworks.connectors.ConnectorBase
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.graph.LineageGraphConnector
-
- All Implemented Interfaces:
OpenLineageGraphConnector
public class LineageGraphConnector extends ConnectorBase implements OpenLineageGraphConnector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLOSE_LINEAGE_GRAPH_EXCEPTIONstatic StringCLOSE_LINEAGE_GRAPH_EXCEPTION_MESSAGEstatic StringEXCEPTION_WHILE_CLOSING_LINEAGE_GRAPH_MESSAGEstatic StringINPUT_PORTstatic StringOLS_HAS_CORRESPONDING_ELEMENTSstatic StringTHE_LINEAGE_GRAPH_COULD_NOT_BE_INITIALIZED_DUE_TO_AN_ERRORstatic StringVERTEX_NOT_FOUND-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
-
Constructor Summary
Constructors Constructor Description LineageGraphConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)voiddisconnect()booleanequals(Object o)OpenLineageQueryServicegetLineageQueryService()LineageGraphgetLineageStorageService()inthashCode()voidinitializeGraphDB(AuditLog auditLog)Instantiates the graph based on the configuration passed.voidperformLineageGraphJob()-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
getConnectedAssetProperties, getConnection, getConnectorInstanceId, initialize, initializeConnectedAssetProperties, isActive, start, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.odpi.openmetadata.governanceservers.openlineage.OpenLineageGraphConnector
start
-
-
-
-
Field Detail
-
CLOSE_LINEAGE_GRAPH_EXCEPTION
public static final String CLOSE_LINEAGE_GRAPH_EXCEPTION
- See Also:
- Constant Field Values
-
EXCEPTION_WHILE_CLOSING_LINEAGE_GRAPH_MESSAGE
public static final String EXCEPTION_WHILE_CLOSING_LINEAGE_GRAPH_MESSAGE
- See Also:
- Constant Field Values
-
CLOSE_LINEAGE_GRAPH_EXCEPTION_MESSAGE
public static final String CLOSE_LINEAGE_GRAPH_EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
-
INPUT_PORT
public static final String INPUT_PORT
- See Also:
- Constant Field Values
-
OLS_HAS_CORRESPONDING_ELEMENTS
public static final String OLS_HAS_CORRESPONDING_ELEMENTS
- See Also:
- Constant Field Values
-
VERTEX_NOT_FOUND
public static final String VERTEX_NOT_FOUND
- See Also:
- Constant Field Values
-
THE_LINEAGE_GRAPH_COULD_NOT_BE_INITIALIZED_DUE_TO_AN_ERROR
public static final String THE_LINEAGE_GRAPH_COULD_NOT_BE_INITIALIZED_DUE_TO_AN_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeGraphDB
public void initializeGraphDB(AuditLog auditLog) throws OpenLineageException
Instantiates the graph based on the configuration passed.- Specified by:
initializeGraphDBin interfaceOpenLineageGraphConnector- Throws:
OpenLineageException
-
disconnect
public void disconnect() throws ConnectorCheckedException- Specified by:
disconnectin interfaceOpenLineageGraphConnector- Overrides:
disconnectin classConnectorBase- Throws:
ConnectorCheckedException
-
performLineageGraphJob
public void performLineageGraphJob()
- Specified by:
performLineageGraphJobin interfaceOpenLineageGraphConnector
-
getLineageQueryService
public OpenLineageQueryService getLineageQueryService()
- Specified by:
getLineageQueryServicein interfaceOpenLineageGraphConnector
-
getLineageStorageService
public LineageGraph getLineageStorageService()
- Specified by:
getLineageStorageServicein interfaceOpenLineageGraphConnector
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classConnectorBase
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConnectorBase
-
-