Enum StaticArgumentTrait
- java.lang.Object
-
- java.lang.Enum<StaticArgumentTrait>
-
- org.apache.flink.table.types.inference.StaticArgumentTrait
-
- All Implemented Interfaces:
Serializable,Comparable<StaticArgumentTrait>
@PublicEvolving public enum StaticArgumentTrait extends Enum<StaticArgumentTrait>
Declares traits forStaticArgument. They enable basic validation by the framework.Some traits have dependencies to other traits, which is why this enum reflects a hierarchy in which
SCALAR,TABLE, andMODELare the top-level roots.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODELOPTIONAL_PARTITION_BYPASS_COLUMNS_THROUGHREQUIRE_FULL_DELETEREQUIRE_ON_TIMEREQUIRE_UPDATE_BEFOREROW_SEMANTIC_TABLESCALARSET_SEMANTIC_TABLESUPPORT_UPDATESTABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<StaticArgumentTrait>getRequirements()static StaticArgumentTraitvalueOf(String name)Returns the enum constant of this type with the specified name.static StaticArgumentTrait[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALAR
public static final StaticArgumentTrait SCALAR
-
TABLE
public static final StaticArgumentTrait TABLE
-
MODEL
public static final StaticArgumentTrait MODEL
-
ROW_SEMANTIC_TABLE
public static final StaticArgumentTrait ROW_SEMANTIC_TABLE
-
SET_SEMANTIC_TABLE
public static final StaticArgumentTrait SET_SEMANTIC_TABLE
-
PASS_COLUMNS_THROUGH
public static final StaticArgumentTrait PASS_COLUMNS_THROUGH
-
SUPPORT_UPDATES
public static final StaticArgumentTrait SUPPORT_UPDATES
-
REQUIRE_ON_TIME
public static final StaticArgumentTrait REQUIRE_ON_TIME
-
OPTIONAL_PARTITION_BY
public static final StaticArgumentTrait OPTIONAL_PARTITION_BY
-
REQUIRE_UPDATE_BEFORE
public static final StaticArgumentTrait REQUIRE_UPDATE_BEFORE
-
REQUIRE_FULL_DELETE
public static final StaticArgumentTrait REQUIRE_FULL_DELETE
-
-
Method Detail
-
values
public static StaticArgumentTrait[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StaticArgumentTrait c : StaticArgumentTrait.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StaticArgumentTrait valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getRequirements
public Set<StaticArgumentTrait> getRequirements()
-
-