Enum Class LogicalTypeChecker.Mode

java.lang.Object
java.lang.Enum<LogicalTypeChecker.Mode>
io.confluent.kafka.schemaregistry.type.logical.policy.LogicalTypeChecker.Mode
All Implemented Interfaces:
Serializable, Comparable<LogicalTypeChecker.Mode>, Constable
Enclosing class:
LogicalTypeChecker

public static enum LogicalTypeChecker.Mode extends Enum<LogicalTypeChecker.Mode>
The downstream consumer whose rules should be applied.
  • Enum Constant Details

    • ICEBERG_V2

      public static final LogicalTypeChecker.Mode ICEBERG_V2
      Materialization into an Apache Iceberg table at format-version 2. Stricter than the Iceberg spec; see CompatibilityChecker.
    • ICEBERG_V3

      public static final LogicalTypeChecker.Mode ICEBERG_V3
      Materialization into an Apache Iceberg table at format-version 3.

      A relaxation of ICEBERG_V2 in the rules, and a tightening in what it will represent. v3 adds initial-default and write-default, so a newly added required field becomes legal when it carries a non-null default; and it adds the nanosecond timestamp types and variant, which v2 cannot store at all.

  • Method Details

    • values

      public static LogicalTypeChecker.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogicalTypeChecker.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null