public static class TableExport.Paths extends Object
| Constructor and Description |
|---|
Paths(String astRepresentationForErrorMsg,
org.apache.hadoop.fs.Path dbMetadataRoot,
org.apache.hadoop.fs.Path dbDataRoot,
String tblName,
HiveConf conf,
boolean shouldWriteData) |
Paths(String astRepresentationForErrorMsg,
String path,
HiveConf conf,
boolean shouldWriteData) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
dataExportRootDir()
Access to the
dataExportRootDir should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. |
org.apache.hadoop.fs.Path |
metadataExportRootDir()
Access to the
metadataExportRootDir should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. |
public Paths(String astRepresentationForErrorMsg, org.apache.hadoop.fs.Path dbMetadataRoot, org.apache.hadoop.fs.Path dbDataRoot, String tblName, HiveConf conf, boolean shouldWriteData) throws SemanticException
SemanticExceptionpublic Paths(String astRepresentationForErrorMsg, String path, HiveConf conf, boolean shouldWriteData) throws SemanticException
SemanticExceptionpublic org.apache.hadoop.fs.Path metadataExportRootDir()
throws SemanticException
metadataExportRootDir should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. This is specifically important to prevent empty non-native
directories being created in repl dump.SemanticExceptionpublic org.apache.hadoop.fs.Path dataExportRootDir()
throws SemanticException
dataExportRootDir should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. This is specifically important to prevent empty non-native
directories being created in repl dump.SemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.