public class DumpMetaData extends Object
| 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 |
|---|---|
org.apache.hadoop.fs.Path |
getDumpFilePath() |
DumpType |
getDumpType() |
Long |
getEventFrom() |
Long |
getEventTo() |
String |
getPayload() |
boolean |
isIncrementalDump() |
void |
setDump(DumpType lvl,
Long eventFrom,
Long eventTo,
org.apache.hadoop.fs.Path cmRoot) |
void |
setPayload(String payload) |
void |
write() |
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)
public DumpType getDumpType() throws SemanticException
SemanticExceptionpublic String getPayload() throws SemanticException
SemanticExceptionpublic void setPayload(String payload)
public Long getEventFrom() throws SemanticException
SemanticExceptionpublic Long getEventTo() throws SemanticException
SemanticExceptionpublic org.apache.hadoop.fs.Path getDumpFilePath()
public boolean isIncrementalDump()
throws SemanticException
SemanticExceptionpublic void write()
throws SemanticException
SemanticExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.