public static enum SqlTableLike.FeatureOption extends Enum<SqlTableLike.FeatureOption>
SqlTableLike.MergingStrategy
.
Example:
LIKE `sourceTable` (
INCLUDING ALL
OVERWRITING OPTIONS
EXCLUDING PARTITIONS
)
is equivalent to:
LIKE `sourceTable` (
INCLUDING GENERATED
INCLUDING CONSTRAINTS
INCLUDING DISTRIBUTION
OVERWRITING OPTIONS
EXCLUDING PARTITIONS
)
Enum Constant and Description |
---|
ALL |
CONSTRAINTS |
DISTRIBUTION |
GENERATED |
METADATA |
OPTIONS |
PARTITIONS |
WATERMARKS |
Modifier and Type | Method and Description |
---|---|
static SqlTableLike.FeatureOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlTableLike.FeatureOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlTableLike.FeatureOption ALL
public static final SqlTableLike.FeatureOption CONSTRAINTS
public static final SqlTableLike.FeatureOption DISTRIBUTION
public static final SqlTableLike.FeatureOption GENERATED
public static final SqlTableLike.FeatureOption METADATA
public static final SqlTableLike.FeatureOption OPTIONS
public static final SqlTableLike.FeatureOption PARTITIONS
public static final SqlTableLike.FeatureOption WATERMARKS
public static SqlTableLike.FeatureOption[] values()
for (SqlTableLike.FeatureOption c : SqlTableLike.FeatureOption.values()) System.out.println(c);
public static SqlTableLike.FeatureOption 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 © 2014–2024 The Apache Software Foundation. All rights reserved.