public class SuccessFileMarkDoneAction extends Object implements PartitionMarkDoneAction
PartitionMarkDoneAction which create "_SUCCESS" file.| Modifier and Type | Field and Description |
|---|---|
static String |
SUCCESS_FILE_NAME |
| Constructor and Description |
|---|
SuccessFileMarkDoneAction(FileIO fileIO,
Path tablePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
markDone(String partition) |
static SuccessFile |
safelyFromPath(FileIO fileIO,
Path path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateActions, createMetastoreClientpublic static final String SUCCESS_FILE_NAME
public void markDone(String partition) throws Exception
markDone in interface PartitionMarkDoneActionException@Nullable public static SuccessFile safelyFromPath(FileIO fileIO, Path path) throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.