public class ExportWork extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportWork.MmContext |
| Constructor and Description |
|---|
ExportWork(String exportRootDirName,
BaseSemanticAnalyzer.TableSpec tableSpec,
ReplicationSpec replicationSpec,
String astRepresentationForErrorMsg,
String acidFqTableName,
ExportWork.MmContext mmContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
acidPostProcess(Hive db)
For exporting Acid table, change the "pointer" to the temp table.
|
String |
getAstRepresentationForErrorMsg() |
String |
getExportRootDir() |
ExportWork.MmContext |
getMmContext() |
ReplicationSpec |
getReplicationSpec() |
BaseSemanticAnalyzer.TableSpec |
getTableSpec() |
public ExportWork(String exportRootDirName, BaseSemanticAnalyzer.TableSpec tableSpec, ReplicationSpec replicationSpec, String astRepresentationForErrorMsg, String acidFqTableName, ExportWork.MmContext mmContext)
acidFqTableName - if exporting Acid table, this is temp table - null otherwisepublic String getExportRootDir()
public BaseSemanticAnalyzer.TableSpec getTableSpec()
public ReplicationSpec getReplicationSpec()
public String getAstRepresentationForErrorMsg()
public ExportWork.MmContext getMmContext()
public void acidPostProcess(Hive db) throws HiveException
UpdateDeleteSemanticAnalyzer.isAcidExport(ASTNode)
for more info.HiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.