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, wait
createActions, createMetastoreClient
public static final String SUCCESS_FILE_NAME
public void markDone(String partition) throws Exception
markDone
in interface PartitionMarkDoneAction
Exception
@Nullable public static SuccessFile safelyFromPath(FileIO fileIO, Path path) throws IOException
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.