public class OpenLineageAssetContextHandler extends Object
| Constructor and Description |
|---|
OpenLineageAssetContextHandler(String localServerUserId,
AssetLineage assetLineageClient) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAssetContextForEntity(String guid,
String typeDefName)
Determines the publishing of the entity's asset contexts and returns the list of all entities inside the context.
|
Optional<LineageEntity> |
getAssetLineageEntity(LineageRelationshipsEvent lineageRelationshipsEvent)
Given the lineage relationship event, it searches among its entities for a data file or a relational table
and returns the found lineage entity.
|
public OpenLineageAssetContextHandler(String localServerUserId, AssetLineage assetLineageClient)
public List<String> getAssetContextForEntity(String guid, String typeDefName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
guid - the guid of the entitytypeDefName - the type def name of the entityInvalidParameterException - the invalid parameter exceptionPropertyServerException - the property server exceptionUserNotAuthorizedException - the user not authorized exceptionpublic Optional<LineageEntity> getAssetLineageEntity(LineageRelationshipsEvent lineageRelationshipsEvent)
lineageRelationshipsEvent - the lineage relationships eventCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.