Enum PgOutputMessageDecoder.MessageType
- java.lang.Object
-
- java.lang.Enum<PgOutputMessageDecoder.MessageType>
-
- io.debezium.connector.postgresql.connection.pgoutput.PgOutputMessageDecoder.MessageType
-
- All Implemented Interfaces:
Serializable,Comparable<PgOutputMessageDecoder.MessageType>
- Enclosing class:
- PgOutputMessageDecoder
public static enum PgOutputMessageDecoder.MessageType extends Enum<PgOutputMessageDecoder.MessageType>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMessageType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PgOutputMessageDecoder.MessageTypeforType(char type)static PgOutputMessageDecoder.MessageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PgOutputMessageDecoder.MessageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELATION
public static final PgOutputMessageDecoder.MessageType RELATION
-
BEGIN
public static final PgOutputMessageDecoder.MessageType BEGIN
-
COMMIT
public static final PgOutputMessageDecoder.MessageType COMMIT
-
INSERT
public static final PgOutputMessageDecoder.MessageType INSERT
-
UPDATE
public static final PgOutputMessageDecoder.MessageType UPDATE
-
DELETE
public static final PgOutputMessageDecoder.MessageType DELETE
-
TYPE
public static final PgOutputMessageDecoder.MessageType TYPE
-
ORIGIN
public static final PgOutputMessageDecoder.MessageType ORIGIN
-
TRUNCATE
public static final PgOutputMessageDecoder.MessageType TRUNCATE
-
-
Method Detail
-
values
public static PgOutputMessageDecoder.MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PgOutputMessageDecoder.MessageType c : PgOutputMessageDecoder.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PgOutputMessageDecoder.MessageType 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 nameNullPointerException- if the argument is null
-
forType
public static PgOutputMessageDecoder.MessageType forType(char type)
-
-