Enum ExecutionConfigOptions.TypeLengthEnforcer
java.lang.Object
java.lang.Enum<ExecutionConfigOptions.TypeLengthEnforcer>
org.apache.flink.table.api.config.ExecutionConfigOptions.TypeLengthEnforcer
- All Implemented Interfaces:
Serializable,Comparable<ExecutionConfigOptions.TypeLengthEnforcer>,org.apache.flink.configuration.DescribedEnum
- Enclosing class:
- ExecutionConfigOptions
@PublicEvolving
public static enum ExecutionConfigOptions.TypeLengthEnforcer
extends Enum<ExecutionConfigOptions.TypeLengthEnforcer>
implements org.apache.flink.configuration.DescribedEnum
The enforcer to guarantee that length of CHAR/VARCHAR/BINARY/VARBINARY columns is respected
when writing data into a sink.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.configuration.description.InlineElementReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IGNORE
-
TRIM_PAD
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDescription
@Internal public org.apache.flink.configuration.description.InlineElement getDescription()- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-