@Service public class OpenLineageService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EDGES_LABEL |
static String |
NODES_LABEL |
| Constructor and Description |
|---|
OpenLineageService(OpenLineageClient openLineageClient,
LineageGraphDisplayRulesService lineageGraphDisplayRulesService) |
| Modifier and Type | Method and Description |
|---|---|
Graph |
getEndToEndLineage(String userId,
String guid,
boolean includeProcesses) |
LineageVertex |
getEntityDetails(String userId,
String guid)
Gets node details.
|
Graph |
getSourceAndDestination(String userId,
String guid,
boolean includeProcesses) |
Graph |
getUltimateDestination(String userId,
String guid,
boolean includeProcesses) |
Graph |
getUltimateSource(String userId,
String guid,
boolean includeProcesses) |
Graph |
getVerticalLineage(String userId,
String guid,
boolean includeProcesses) |
public static final String EDGES_LABEL
public static final String NODES_LABEL
@Autowired public OpenLineageService(OpenLineageClient openLineageClient, LineageGraphDisplayRulesService lineageGraphDisplayRulesService)
openLineageClient - client to connect to open lineage serviceslineageGraphDisplayRulesService - the rules for displaypublic Graph getUltimateSource(String userId, String guid, boolean includeProcesses)
userId - id of the user triggering the requestguid - unique identifier if the assetincludeProcesses - if true includes processes in the responsepublic Graph getEndToEndLineage(String userId, String guid, boolean includeProcesses)
userId - id of the user triggering the requestguid - unique identifier if the assetincludeProcesses - if true includes processes in the responsepublic Graph getUltimateDestination(String userId, String guid, boolean includeProcesses)
userId - id of the user triggering the requestguid - unique identifier if the assetincludeProcesses - if true includes processes in the responsepublic Graph getVerticalLineage(String userId, String guid, boolean includeProcesses)
userId - id of the user triggering the requestguid - unique identifier if the assetincludeProcesses - if true includes processes in the responsepublic LineageVertex getEntityDetails(String userId, String guid)
userId - the user idguid - the guidpublic Graph getSourceAndDestination(String userId, String guid, boolean includeProcesses)
userId - id of the user triggering the requestguid - unique identifier if the assetincludeProcesses - if true includes processes in the responseCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.