@EnumDescription(value="Mode of INSERT OVERWRITE a partitioned data source table.") public enum PartitionOverwriteMode extends Enum<PartitionOverwriteMode>
| Modifier and Type | Method and Description |
|---|---|
static PartitionOverwriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionOverwriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="Deletes all the partitions that match the partition specification(e.g. PARTITION(a=1,b)) in the INSERT statement, before overwriting.") public static final PartitionOverwriteMode STATIC
@EnumFieldDescription(value="Doesn\'t delete partitions ahead, and only overwrite those partitions that have data written into it at runtime.") public static final PartitionOverwriteMode DYNAMIC
public static PartitionOverwriteMode[] values()
for (PartitionOverwriteMode c : PartitionOverwriteMode.values()) System.out.println(c);
public static PartitionOverwriteMode 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 © 2023 The Apache Software Foundation. All rights reserved.