Enum ExtractionUtils.Autoboxing

java.lang.Object
java.lang.Enum<ExtractionUtils.Autoboxing>
org.apache.flink.table.types.extraction.ExtractionUtils.Autoboxing
All Implemented Interfaces:
Serializable, Comparable<ExtractionUtils.Autoboxing>
Enclosing class:
ExtractionUtils

@Internal public static enum ExtractionUtils.Autoboxing extends Enum<ExtractionUtils.Autoboxing>
Checks the relation between primitive and boxed types.
  • Enum Constant Details

    • NONE

      public static final ExtractionUtils.Autoboxing NONE
      int.class cannot be passed into f(Integer.class). Integer.class cannot be passed into f(int.class).
    • JVM

      public static final ExtractionUtils.Autoboxing JVM
      int.class can be passed into f(Integer.class). Integer.class can be passed into f(int.class). The latter could cause a NullPointerException.
    • STRICT

      public static final ExtractionUtils.Autoboxing STRICT
      int.class can be passed into f(Integer.class). Integer.class cannot be passed into f(int.class).
  • Method Details

    • values

      public static ExtractionUtils.Autoboxing[] 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 ExtractionUtils.Autoboxing 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