public class OpenLineageConnectorBase extends ConnectorBase implements OpenLineageGraphStore
ConnectorBase.ProtectedConnectionconnectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, isActive, securedProperties| Constructor and Description |
|---|
OpenLineageConnectorBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(ProcessLineageEvent processLineageEvent)
Process the serialized information view event
|
void |
dumpGraph(String graphName)
Write an entire graph to disc in the Egeria root folder, in the .GraphMl format.
|
String |
exportGraph(String graphName)
Return an entire graph, in GraphSon format.
|
void |
initialize(String connectorInstanceId,
ConnectionProperties connectionProperties)
Initialize the connector.
|
String |
lineage(String graphName,
Scope scope,
View view,
String guid)
Returns a lineage subgraph.
|
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, isActive, start, toStringpublic void initialize(String connectorInstanceId, ConnectionProperties connectionProperties)
initialize in class ConnectorBaseconnectorInstanceId - - unique id for the connector instance - useful for messages etcconnectionProperties - - POJO for the configuration used to create the connector.public void addEntity(ProcessLineageEvent processLineageEvent)
addEntity in interface OpenLineageGraphStoreprocessLineageEvent - eventpublic String lineage(String graphName, Scope scope, View view, String guid)
lineage in interface OpenLineageGraphStoregraphName - main, buffer, mock, history.scope - source-and-destination, end-to-end, ultimate-source, ultimate-destination, glossary.view - The view queried by the user: hostview, tableview, columnview.guid - The guid of the node of which the lineage is queried from.public void dumpGraph(String graphName)
dumpGraph in interface OpenLineageGraphStoregraphName - MAIN, BUFFER, MOCK, HISTORY.public String exportGraph(String graphName)
exportGraph in interface OpenLineageGraphStoregraphName - MAIN, BUFFER, MOCK, HISTORY.Copyright © 2018–2019 ODPi. All rights reserved.