public class OpenLineageClient extends FFDCRESTClient implements OpenLineageInterface
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
OpenLineageClient(String serverName,
String serverPlatformURLRoot)
Create a new OpenLineage client.
|
OpenLineageClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password) |
| Modifier and Type | Method and Description |
|---|---|
LineageVertex |
getEntityDetails(String userId,
String guid) |
LineageVerticesAndEdges |
lineage(String userId,
Scope scope,
String guid,
String displayNameMustContain,
boolean includeProcesses)
Returns the graph that the user will initially see when querying lineage.
|
callConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic OpenLineageClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - if parameter validation failspublic OpenLineageClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
InvalidParameterExceptionpublic LineageVerticesAndEdges lineage(String userId, Scope scope, String guid, String displayNameMustContain, boolean includeProcesses) throws InvalidParameterException, PropertyServerException, OpenLineageException
lineage in interface OpenLineageInterfaceuserId - calling user.scope - ULTIMATE_SOURCE, ULTIMATE_DESTINATION, SOURCE_AND_DESTINATION, VERTICAL, END_TO_END.guid - The guid of the node of which the lineage is queried of.displayNameMustContain - Used to filter out nodes which displayname does not contain this value.includeProcesses - Will filter out all processes and subprocesses from the response if false.InvalidParameterException - one of the parameters is null or invalidInvalidParameterExceptionPropertyServerExceptionOpenLineageExceptionpublic LineageVertex getEntityDetails(String userId, String guid) throws InvalidParameterException, PropertyServerException, OpenLineageException
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.