public class IdentifierResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_SEPARATOR |
| Constructor and Description |
|---|
IdentifierResolver(ExecutionContext ctx,
AnalyticsAsset asset)
Constructor with initialization of metadata referenced in asset.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addGuidForIdentifier(String guid,
String id)
Add GUID for identifier that need to be resolved.
|
static String |
getIdFromQName(String qName,
String alias)
Get compound identifier from qualified name.
|
List<String> |
getItemGUIDs(AnalyticsMetadata item)
Get GUIDs of the identifiers listed as sources of metadata.
|
List<EntityDetail> |
getSchemaAttributes(String assetQualifiedName,
String methodName)
Fetch all schema elements of the asset by asset qualified name.
|
boolean |
required()
Check when asset identifiers need to be resolved.
|
public static String NAME_SEPARATOR
public IdentifierResolver(ExecutionContext ctx, AnalyticsAsset asset)
ctx - execution context to access repository.asset - which identifiers to resolve.public boolean addGuidForIdentifier(String guid, String id)
guid - to add.id - of the identifier.public static String getIdFromQName(String qName, String alias)
qName - source of identifier.alias - optional.public List<EntityDetail> getSchemaAttributes(String assetQualifiedName, String methodName)
assetQualifiedName - of the asset.methodName - for logging.public boolean required()
public List<String> getItemGUIDs(AnalyticsMetadata item)
item - referencing metadataCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.