Enum SerializerType

java.lang.Object
java.lang.Enum<SerializerType>
io.debezium.converters.spi.SerializerType
All Implemented Interfaces:
Serializable, Comparable<SerializerType>

public enum SerializerType extends Enum<SerializerType>
A set of available serializer types for CloudEvents or the data attribute of CloudEvents.
  • Enum Constant Details

    • JSON

      public static final SerializerType JSON
      Using JSON as serialization format
    • AVRO

      public static final SerializerType AVRO
      Using Avro as serialization format
  • Field Details

  • Constructor Details

    • SerializerType

      private SerializerType()
  • Method Details

    • values

      public static SerializerType[] 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 SerializerType 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
    • withName

      public static SerializerType withName(String name)
    • getName

      public String getName()