Package io.debezium.connector.postgresql
Enum PostgresConnectorConfig.LogicalDecoder
- java.lang.Object
-
- java.lang.Enum<PostgresConnectorConfig.LogicalDecoder>
-
- io.debezium.connector.postgresql.PostgresConnectorConfig.LogicalDecoder
-
- All Implemented Interfaces:
EnumeratedValue,Serializable,Comparable<PostgresConnectorConfig.LogicalDecoder>
- Enclosing class:
- PostgresConnectorConfig
public static enum PostgresConnectorConfig.LogicalDecoder extends Enum<PostgresConnectorConfig.LogicalDecoder> implements EnumeratedValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECODERBUFSPGOUTPUTWAL2JSONWAL2JSON_RDSWAL2JSON_RDS_STREAMINGWAL2JSON_STREAMING
-
Field Summary
Fields Modifier and Type Field Description private StringdecoderName
-
Constructor Summary
Constructors Modifier Constructor Description privateLogicalDecoder(String decoderName)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanforceRds()abstract StringgetPostgresPluginName()StringgetValue()booleanhasUnchangedToastColumnMarker()abstract MessageDecodermessageDecoder(MessageDecoderContext config)static PostgresConnectorConfig.LogicalDecoderparse(String s)booleansendsNullToastedValuesInOld()abstract booleansupportsTruncate()static PostgresConnectorConfig.LogicalDecodervalueOf(String name)Returns the enum constant of this type with the specified name.static PostgresConnectorConfig.LogicalDecoder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PGOUTPUT
public static final PostgresConnectorConfig.LogicalDecoder PGOUTPUT
-
DECODERBUFS
public static final PostgresConnectorConfig.LogicalDecoder DECODERBUFS
-
WAL2JSON_STREAMING
public static final PostgresConnectorConfig.LogicalDecoder WAL2JSON_STREAMING
-
WAL2JSON_RDS_STREAMING
public static final PostgresConnectorConfig.LogicalDecoder WAL2JSON_RDS_STREAMING
-
WAL2JSON
public static final PostgresConnectorConfig.LogicalDecoder WAL2JSON
-
WAL2JSON_RDS
public static final PostgresConnectorConfig.LogicalDecoder WAL2JSON_RDS
-
-
Field Detail
-
decoderName
private final String decoderName
-
-
Constructor Detail
-
LogicalDecoder
private LogicalDecoder(String decoderName)
-
-
Method Detail
-
values
public static PostgresConnectorConfig.LogicalDecoder[] 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 (PostgresConnectorConfig.LogicalDecoder c : PostgresConnectorConfig.LogicalDecoder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostgresConnectorConfig.LogicalDecoder 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
-
messageDecoder
public abstract MessageDecoder messageDecoder(MessageDecoderContext config)
-
forceRds
public boolean forceRds()
-
hasUnchangedToastColumnMarker
public boolean hasUnchangedToastColumnMarker()
-
sendsNullToastedValuesInOld
public boolean sendsNullToastedValuesInOld()
-
parse
public static PostgresConnectorConfig.LogicalDecoder parse(String s)
-
getValue
public String getValue()
- Specified by:
getValuein interfaceEnumeratedValue
-
getPostgresPluginName
public abstract String getPostgresPluginName()
-
supportsTruncate
public abstract boolean supportsTruncate()
-
-