public class MainGraphConnector extends MainGraphConnectorBase
ConnectorBase.ProtectedConnectionconnectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, isActive, securedProperties| Constructor and Description |
|---|
MainGraphConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntity(LineageEvent lineageEvent) |
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.
|
Object |
getMainGraph() |
void |
initialize(String connectorInstanceId,
ConnectionProperties connectionProperties)
Initialize the connector.
|
LineageResponse |
lineage(String graphName,
Scope scope,
View view,
String guid)
Returns a lineage subgraph.
|
void |
start()
Indicates that the connector is completely configured and can begin processing.
|
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, isActive, toStringpublic void initialize(String connectorInstanceId, ConnectionProperties connectionProperties)
initialize in class MainGraphConnectorBaseconnectorInstanceId - - unique id for the connector instance - useful for messages etcconnectionProperties - - POJO for the configuration used to create the connector.public void start()
throws ConnectorCheckedException
start in interface OpenLineageGraphStorestart in class MainGraphConnectorBaseConnectorCheckedException - there is a problem within the connector.public void addEntity(LineageEvent lineageEvent)
addEntity in interface MainGraphaddEntity in class MainGraphConnectorBasepublic LineageResponse lineage(String graphName, Scope scope, View view, String guid)
lineage in interface MainGraphlineage in class MainGraphConnectorBasegraphName - 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 MainGraphdumpGraph in class MainGraphConnectorBasegraphName - MAIN, BUFFER, MOCK, HISTORY.public String exportGraph(String graphName)
exportGraph in interface MainGraphexportGraph in class MainGraphConnectorBasegraphName - MAIN, BUFFER, MOCK, HISTORY.public Object getMainGraph()
getMainGraph in interface MainGraphgetMainGraph in class MainGraphConnectorBaseCopyright © 2018–2019 ODPi. All rights reserved.