public class HoodieInternalWriteStatus extends Object implements Serializable
| Constructor and Description |
|---|
HoodieInternalWriteStatus(Boolean trackSuccessRecords,
Double failureFraction) |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<String,Throwable>> |
getFailedRecordKeys() |
long |
getFailedRowsSize() |
String |
getFileId() |
Throwable |
getGlobalError() |
String |
getPartitionPath() |
HoodieWriteStat |
getStat() |
List<String> |
getSuccessRecordKeys() |
long |
getTotalErrorRecords() |
long |
getTotalRecords() |
boolean |
hasErrors() |
boolean |
isTrackingSuccessfulWrites() |
void |
markFailure(String recordKey,
Throwable t) |
void |
markSuccess() |
void |
markSuccess(String recordKey) |
void |
setFailedRecordKeys(List<Pair<String,Throwable>> failedRecordKeys) |
void |
setFileId(String fileId) |
void |
setGlobalError(Throwable globalError) |
void |
setPartitionPath(String partitionPath) |
void |
setStat(HoodieWriteStat stat) |
void |
setSuccessRecordKeys(List<String> successRecordKeys) |
void |
setTotalErrorRecords(long totalErrorRecords) |
void |
setTotalRecords(long totalRecords) |
String |
toString() |
public boolean isTrackingSuccessfulWrites()
public void markSuccess(String recordKey)
public void markSuccess()
public boolean hasErrors()
public HoodieWriteStat getStat()
public void setStat(HoodieWriteStat stat)
public String getFileId()
public void setFileId(String fileId)
public String getPartitionPath()
public void setPartitionPath(String partitionPath)
public long getFailedRowsSize()
public long getTotalRecords()
public void setTotalRecords(long totalRecords)
public long getTotalErrorRecords()
public void setTotalErrorRecords(long totalErrorRecords)
public Throwable getGlobalError()
public void setGlobalError(Throwable globalError)
Copyright © 2022 The Apache Software Foundation. All rights reserved.