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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
Free up any resources held since the connector is no longer needed.boolean
Provide a common implementation of equals for all OCF Connector Provider objects.int
hashCode()
Provide a common implementation of hashCode for all OCF Connector objects.void
initializeGraphDB
(AuditLog auditLog) Instantiates the graph based on the configuration passed.void
Task that the scheduler performs based on the intervalMethods 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 Details
-
CLOSE_LINEAGE_GRAPH_EXCEPTION
- See Also:
-
EXCEPTION_WHILE_CLOSING_LINEAGE_GRAPH_MESSAGE
- See Also:
-
CLOSE_LINEAGE_GRAPH_EXCEPTION_MESSAGE
- See Also:
-
INPUT_PORT
- See Also:
-
OLS_HAS_CORRESPONDING_ELEMENTS
- See Also:
-
VERTEX_NOT_FOUND
- See Also:
-
THE_LINEAGE_GRAPH_COULD_NOT_BE_INITIALIZED_DUE_TO_AN_ERROR
- See Also:
-
-
Constructor Details
-
LineageGraphConnector
public LineageGraphConnector()
-
-
Method Details
-
initializeGraphDB
Instantiates the graph based on the configuration passed.- Specified by:
initializeGraphDB
in interfaceOpenLineageGraphConnector
- Parameters:
auditLog
- logging destination- Throws:
OpenLineageException
- internal error
-
disconnect
Description copied from class:ConnectorBase
Free up any resources held since the connector is no longer needed.- Specified by:
disconnect
in interfaceOpenLineageGraphConnector
- Overrides:
disconnect
in classConnectorBase
- Throws:
ConnectorCheckedException
- there is a problem within the connector.
-
performLineageGraphJob
public void performLineageGraphJob()Description copied from interface:OpenLineageGraphConnector
Task that the scheduler performs based on the interval- Specified by:
performLineageGraphJob
in interfaceOpenLineageGraphConnector
-
getLineageQueryService
- Specified by:
getLineageQueryService
in interfaceOpenLineageGraphConnector
-
getLineageStorageService
- Specified by:
getLineageStorageService
in interfaceOpenLineageGraphConnector
-
equals
Description copied from class:ConnectorBase
Provide a common implementation of equals for all OCF Connector Provider objects. The UUID is unique and is randomly assigned and so its hashCode is as good as anything to evaluate the equality of the connector provider object.- Overrides:
equals
in classConnectorBase
- Parameters:
o
- object to test- Returns:
- boolean flag
-
canEqual
-
hashCode
public int hashCode()Description copied from class:ConnectorBase
Provide a common implementation of hashCode for all OCF Connector objects. The UUID is unique and is randomly assigned and so its hashCode is as good as anything to describe the hash code of the connector object.- Overrides:
hashCode
in classConnectorBase
- Returns:
- random UUID as hashcode
-