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
The validity rule that was violated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA named type refers to itself, directly or through other named types.A struct or union has no fields, so it derives to a row type with no columns.Two field names in the same struct or union differ only in case.A character-string or binary-string length falls outside the range the type permits.A precision falls outside the range the type permits.A decimal scale is negative, or exceeds its own precision.The consumer's type system cannot represent the type at all.A named-type reference has no matching entry in the schema's named types. -
Method Summary
Modifier and TypeMethodDescriptionstatic Invalidity.RuleReturns the enum constant of this class with the specified name.static Invalidity.Rule[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMPTY_STRUCT
A struct or union has no fields, so it derives to a row type with no columns. -
FIELD_NAME_CASE_COLLISION
Two field names in the same struct or union differ only in case. -
CYCLIC_TYPE
A named type refers to itself, directly or through other named types. -
UNRESOLVED_TYPE_REF
A named-type reference has no matching entry in the schema's named types. -
PRECISION_OUT_OF_RANGE
A precision falls outside the range the type permits. -
SCALE_OUT_OF_RANGE
A decimal scale is negative, or exceeds its own precision. -
LENGTH_OUT_OF_RANGE
A character-string or binary-string length falls outside the range the type permits. -
UNREPRESENTABLE_TYPE
The consumer's type system cannot represent the type at all.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-