public class FailoverMetaData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FAILOVER_METADATA |
| Constructor and Description |
|---|
FailoverMetaData() |
FailoverMetaData(org.apache.hadoop.fs.Path dumpDir,
HiveConf hiveConf) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToAbortedTxns(List<Long> abortedTxns) |
boolean |
equals(FailoverMetaData otherFmd) |
List<Long> |
getAbortedTxns() |
Long |
getCursorPoint() |
Long |
getFailoverEventId() |
String |
getFilePath() |
List<Long> |
getOpenTxns() |
List<Long> |
getTxnsWithoutLock() |
boolean |
isValidMetadata() |
void |
setAbortedTxns(List<Long> abortedTxns) |
void |
setCursorPoint(Long cursorPoint) |
void |
setFailoverEventId(Long failoverEventId) |
void |
setMetaData(FailoverMetaData otherDMD) |
void |
setOpenTxns(List<Long> openTxns) |
void |
setTxnsWithoutLock(List<Long> txnsWithoutLock) |
void |
write() |
public static final String FAILOVER_METADATA
public FailoverMetaData()
public FailoverMetaData(org.apache.hadoop.fs.Path dumpDir,
HiveConf hiveConf)
public void setMetaData(FailoverMetaData otherDMD)
public void setFailoverEventId(Long failoverEventId)
public void setCursorPoint(Long cursorPoint)
public Long getCursorPoint() throws SemanticException
SemanticExceptionpublic List<Long> getOpenTxns() throws SemanticException
SemanticExceptionpublic Long getFailoverEventId() throws SemanticException
SemanticExceptionpublic List<Long> getAbortedTxns() throws SemanticException
SemanticExceptionpublic List<Long> getTxnsWithoutLock() throws SemanticException
SemanticExceptionpublic boolean isValidMetadata()
throws SemanticException
SemanticExceptionpublic boolean equals(FailoverMetaData otherFmd) throws SemanticException
SemanticExceptionpublic String getFilePath()
public void write()
throws SemanticException
SemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.