public static enum LoadTableDesc.LoadFileType extends Enum<LoadTableDesc.LoadFileType>
| Enum Constant and Description |
|---|
IGNORE
No need to move the file, used in case of replication to s3.
|
KEEP_EXISTING
This corresponds to INSERT INTO and LOAD DATA.
|
OVERWRITE_EXISTING
This corresponds to REPL LOAD where if we re-apply the same event then need to overwrite
the file instead of making a duplicate copy.
|
REPLACE_ALL
This corresponds to INSERT OVERWRITE and REPL LOAD for INSERT OVERWRITE event.
|
| Modifier and Type | Method and Description |
|---|---|
static LoadTableDesc.LoadFileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadTableDesc.LoadFileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadTableDesc.LoadFileType REPLACE_ALL
public static final LoadTableDesc.LoadFileType KEEP_EXISTING
public static final LoadTableDesc.LoadFileType OVERWRITE_EXISTING
public static final LoadTableDesc.LoadFileType IGNORE
public static LoadTableDesc.LoadFileType[] values()
for (LoadTableDesc.LoadFileType c : LoadTableDesc.LoadFileType.values()) System.out.println(c);
public static LoadTableDesc.LoadFileType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 The Apache Software Foundation. All rights reserved.