Enum Class Invalidity.Rule

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

public static enum Invalidity.Rule extends Enum<Invalidity.Rule>
The validity rule that was violated.
  • Enum Constant Details

    • EMPTY_STRUCT

      public static final Invalidity.Rule EMPTY_STRUCT
      A struct or union has no fields, so it derives to a row type with no columns.
    • FIELD_NAME_CASE_COLLISION

      public static final Invalidity.Rule FIELD_NAME_CASE_COLLISION
      Two field names in the same struct or union differ only in case.
    • CYCLIC_TYPE

      public static final Invalidity.Rule CYCLIC_TYPE
      A named type refers to itself, directly or through other named types.
    • UNRESOLVED_TYPE_REF

      public static final Invalidity.Rule UNRESOLVED_TYPE_REF
      A named-type reference has no matching entry in the schema's named types.
    • PRECISION_OUT_OF_RANGE

      public static final Invalidity.Rule PRECISION_OUT_OF_RANGE
      A precision falls outside the range the type permits.
    • SCALE_OUT_OF_RANGE

      public static final Invalidity.Rule SCALE_OUT_OF_RANGE
      A decimal scale is negative, or exceeds its own precision.
    • LENGTH_OUT_OF_RANGE

      public static final Invalidity.Rule LENGTH_OUT_OF_RANGE
      A character-string or binary-string length falls outside the range the type permits.
    • UNREPRESENTABLE_TYPE

      public static final Invalidity.Rule UNREPRESENTABLE_TYPE
      The consumer's type system cannot represent the type at all.
  • Method Details

    • values

      public static Invalidity.Rule[] 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 Invalidity.Rule 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