public class OpenLineage extends Object
| Constructor and Description |
|---|
OpenLineage(String serverName,
String newServerURL)
Create a new OpenLineage client.
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
dumpGraph(String userId,
GraphName graphName)
Write an entire graph to disc in the Egeria root folder, in the .GraphMl format.
|
String |
exportGraph(String userId,
GraphName graphName)
Return an entire graph, in GraphSon format.
|
String |
generateMockGraph(String userId)
Generate the MOCK graph, which can be used for performance testing, or demoing lineage with large amounts of
data.
|
String |
lineage(String userId,
GraphName graphName,
Scope scope,
View view,
String guid)
Returns the graph that the user will initially see when querying lineage.
|
public String lineage(String userId, GraphName graphName, Scope scope, View view, String guid) throws InvalidParameterException
userId - calling user.graphName - MAIN, BUFFER, MOCK, HISTORY.scope - ULTIMATE_SOURCE, ULTIMATE_DESTINATION, GLOSSARY.view - TABLE_VIEW, COLUMN_VIEW.guid - The guid of the node of which the lineage is queried of.InvalidParameterException - one of the parameters is null or invalidpublic VoidResponse dumpGraph(String userId, GraphName graphName) throws InvalidParameterException
userId - calling user.graphName - MAIN, BUFFER, MOCK, HISTORY.InvalidParameterException - one of the parameters is null or invalid.public String exportGraph(String userId, GraphName graphName) throws InvalidParameterException
userId - calling user.graphName - MAIN, BUFFER, MOCK, HISTORY.InvalidParameterException - one of the parameters is null or invalid.public String generateMockGraph(String userId) throws InvalidParameterException
userId - calling user.InvalidParameterException - one of the parameters is null or invalid.Copyright © 2018–2019 ODPi. All rights reserved.