public enum AlterTableType extends Enum<AlterTableType>
| Modifier and Type | Field and Description |
|---|---|
static List<AlterTableType> |
NON_NATIVE_TABLE_ALLOWED |
static Set<AlterTableType> |
SUPPORT_PARTIAL_PARTITION_SPEC |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static AlterTableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlterTableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlterTableType ADDCOLS
public static final AlterTableType REPLACE_COLUMNS
public static final AlterTableType RENAME_COLUMN
public static final AlterTableType UPDATE_COLUMNS
public static final AlterTableType ADDPARTITION
public static final AlterTableType DROPPARTITION
public static final AlterTableType RENAMEPARTITION
public static final AlterTableType ALTERPARTITION
public static final AlterTableType SETPARTITIONSPEC
public static final AlterTableType EXECUTE
public static final AlterTableType ADD_CONSTRAINT
public static final AlterTableType DROP_CONSTRAINT
public static final AlterTableType SET_SERDE
public static final AlterTableType SET_SERDE_PROPS
public static final AlterTableType SET_FILE_FORMAT
public static final AlterTableType CLUSTERED_BY
public static final AlterTableType NOT_SORTED
public static final AlterTableType NOT_CLUSTERED
public static final AlterTableType ALTERLOCATION
public static final AlterTableType SKEWED_BY
public static final AlterTableType NOT_SKEWED
public static final AlterTableType SET_SKEWED_LOCATION
public static final AlterTableType INTO_BUCKETS
public static final AlterTableType ADDPROPS
public static final AlterTableType DROPPROPS
public static final AlterTableType TOUCH
public static final AlterTableType RENAME
public static final AlterTableType OWNER
public static final AlterTableType ARCHIVE
public static final AlterTableType UNARCHIVE
public static final AlterTableType COMPACT
public static final AlterTableType TRUNCATE
public static final AlterTableType MERGEFILES
public static final AlterTableType UPDATESTATS
public static final List<AlterTableType> NON_NATIVE_TABLE_ALLOWED
public static final Set<AlterTableType> SUPPORT_PARTIAL_PARTITION_SPEC
public static AlterTableType[] values()
for (AlterTableType c : AlterTableType.values()) System.out.println(c);
public static AlterTableType 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 String getName()
Copyright © 2022 The Apache Software Foundation. All rights reserved.