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 Details

  • 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

      public static ExecutionConfigOptions.TypeLengthEnforcer 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 name
      NullPointerException - if the argument is null
    • getDescription

      @Internal public org.apache.flink.configuration.description.InlineElement getDescription()
      Specified by:
      getDescription in interface org.apache.flink.configuration.DescribedEnum