public static enum LocationHandle.WriteMode extends Enum<LocationHandle.WriteMode>
| Enum Constant and Description |
|---|
DIRECT_TO_TARGET_EXISTING_DIRECTORY
for existing table in S3 (both new and existing partition) or when staging directory is disabled
|
DIRECT_TO_TARGET_NEW_DIRECTORY
for new table in S3 or when staging directory is disabled
|
STAGE_AND_MOVE_TO_TARGET_DIRECTORY
common mode for new table or existing table (both new and existing partition) and when staging directory is enabled
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWritePathSameAsTargetPath() |
static LocationHandle.WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationHandle.WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationHandle.WriteMode STAGE_AND_MOVE_TO_TARGET_DIRECTORY
public static final LocationHandle.WriteMode DIRECT_TO_TARGET_NEW_DIRECTORY
public static final LocationHandle.WriteMode DIRECT_TO_TARGET_EXISTING_DIRECTORY
public static LocationHandle.WriteMode[] values()
for (LocationHandle.WriteMode c : LocationHandle.WriteMode.values()) System.out.println(c);
public static LocationHandle.WriteMode 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 nullpublic boolean isWritePathSameAsTargetPath()
Copyright © 2012–2020. All rights reserved.