public class DumpMetaData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DUMP_METADATA |
| Constructor and Description |
|---|
DumpMetaData(org.apache.hadoop.fs.Path dumpRoot,
DumpType lvl,
Long eventFrom,
Long eventTo,
org.apache.hadoop.fs.Path cmRoot,
HiveConf hiveConf) |
DumpMetaData(org.apache.hadoop.fs.Path dumpRoot,
HiveConf hiveConf) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDmdFileName() |
Long |
getDumpExecutionId() |
org.apache.hadoop.fs.Path |
getDumpFilePath() |
DumpType |
getDumpType() |
Long |
getEventFrom() |
Long |
getEventTo() |
String |
getPayload() |
org.apache.hadoop.hive.common.repl.ReplScope |
getReplScope() |
boolean |
isIncrementalDump() |
boolean |
isReplScopeModified() |
List<String> |
prepareReplScopeValues() |
void |
setDump(DumpType lvl,
Long eventFrom,
Long eventTo,
org.apache.hadoop.fs.Path cmRoot,
Long dumpExecutionId,
boolean replScopeModified) |
void |
setDumpType(DumpType dumpType) |
void |
setPayload(String payload) |
void |
setReplScope(org.apache.hadoop.hive.common.repl.ReplScope replScope) |
void |
write() |
void |
write(boolean replace) |
public static final String DUMP_METADATA
public DumpMetaData(org.apache.hadoop.fs.Path dumpRoot,
HiveConf hiveConf)
public void setDump(DumpType lvl, Long eventFrom, Long eventTo, org.apache.hadoop.fs.Path cmRoot, Long dumpExecutionId, boolean replScopeModified)
public void setPayload(String payload)
public void setReplScope(org.apache.hadoop.hive.common.repl.ReplScope replScope)
public void setDumpType(DumpType dumpType)
public DumpType getDumpType() throws SemanticException
SemanticExceptionpublic String getPayload() throws SemanticException
SemanticExceptionpublic Long getEventFrom() throws SemanticException
SemanticExceptionpublic Long getEventTo() throws SemanticException
SemanticExceptionpublic Long getDumpExecutionId() throws SemanticException
SemanticExceptionpublic boolean isReplScopeModified()
throws SemanticException
SemanticExceptionpublic org.apache.hadoop.hive.common.repl.ReplScope getReplScope() throws SemanticException
SemanticExceptionpublic org.apache.hadoop.fs.Path getDumpFilePath()
public static String getDmdFileName()
public boolean isIncrementalDump()
throws SemanticException
SemanticExceptionpublic void write()
throws SemanticException
SemanticExceptionpublic void write(boolean replace)
throws SemanticException
SemanticExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.