public class AtlasRequestBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATLAS_TYPE_HIVE_TABLE |
static String |
ATTRIBUTE_QUALIFIED_NAME |
Constructor and Description |
---|
AtlasRequestBuilder() |
Modifier and Type | Method and Description |
---|---|
org.apache.atlas.model.impexp.AtlasExportRequest |
createExportRequest(AtlasReplInfo atlasReplInfo) |
org.apache.atlas.model.impexp.AtlasImportRequest |
createImportRequest(String sourceDataSet,
String targetDataSet,
String sourceClusterName,
String targetClusterName,
String sourceFsEndpoint,
String targetFsEndpoint) |
List<String> |
getFileAsList(org.apache.hadoop.fs.Path listOfTablesFile,
HiveConf conf) |
org.apache.hadoop.fs.FileSystem |
getFileSystem(org.apache.hadoop.fs.Path listOfTablesFile,
HiveConf conf) |
org.apache.atlas.model.instance.AtlasObjectId |
getItemToExport(String srcCluster,
String srcDB) |
public static final String ATTRIBUTE_QUALIFIED_NAME
public static final String ATLAS_TYPE_HIVE_TABLE
public org.apache.atlas.model.impexp.AtlasExportRequest createExportRequest(AtlasReplInfo atlasReplInfo) throws SemanticException
SemanticException
public org.apache.atlas.model.instance.AtlasObjectId getItemToExport(String srcCluster, String srcDB)
public List<String> getFileAsList(org.apache.hadoop.fs.Path listOfTablesFile, HiveConf conf) throws SemanticException
SemanticException
public org.apache.hadoop.fs.FileSystem getFileSystem(org.apache.hadoop.fs.Path listOfTablesFile, HiveConf conf) throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.