public class AtlasRestClientImpl extends RetryingClientTimeBased implements AtlasRestClient
backOff, initialDelayInSeconds, maxJitterInSeconds, maxRetryDelayInSeconds, totalDurationInSeconds| Constructor and Description |
|---|
AtlasRestClientImpl(org.apache.atlas.AtlasClientV2 clientV2,
HiveConf conf) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
exportData(org.apache.atlas.model.impexp.AtlasExportRequest request) |
String |
getEntityGuid(String entityType,
String attributeName,
String qualifiedName) |
org.apache.atlas.model.impexp.AtlasServer |
getServer(String endpoint,
HiveConf conf) |
boolean |
getStatus(HiveConf conf) |
org.apache.atlas.model.impexp.AtlasImportResult |
importData(org.apache.atlas.model.impexp.AtlasImportRequest request,
AtlasReplInfo atlasReplInfo) |
invokeWithRetrypublic AtlasRestClientImpl(org.apache.atlas.AtlasClientV2 clientV2,
HiveConf conf)
public InputStream exportData(org.apache.atlas.model.impexp.AtlasExportRequest request) throws SemanticException
exportData in interface AtlasRestClientSemanticExceptionpublic org.apache.atlas.model.impexp.AtlasImportResult importData(org.apache.atlas.model.impexp.AtlasImportRequest request,
AtlasReplInfo atlasReplInfo)
throws Exception
importData in interface AtlasRestClientExceptionpublic org.apache.atlas.model.impexp.AtlasServer getServer(String endpoint, HiveConf conf) throws SemanticException
getServer in interface AtlasRestClientSemanticExceptionpublic String getEntityGuid(String entityType, String attributeName, String qualifiedName) throws SemanticException
getEntityGuid in interface AtlasRestClientSemanticExceptionpublic boolean getStatus(HiveConf conf) throws SemanticException
getStatus in interface AtlasRestClientSemanticExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.