Package io.debezium.config
Enum Class CommonConnectorConfig.BinaryHandlingMode
java.lang.Object
java.lang.Enum<CommonConnectorConfig.BinaryHandlingMode>
io.debezium.config.CommonConnectorConfig.BinaryHandlingMode
- All Implemented Interfaces:
EnumeratedValue
,Serializable
,Comparable<CommonConnectorConfig.BinaryHandlingMode>
,Constable
- Enclosing class:
CommonConnectorConfig
public static enum CommonConnectorConfig.BinaryHandlingMode
extends Enum<CommonConnectorConfig.BinaryHandlingMode>
implements EnumeratedValue
The set of predefined BinaryHandlingMode options or aliases
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresent binary values as base64-encoded stringRepresent binary values as base64-url-safe-encoded stringRepresent binary values as byte arrayRepresents binary values as hex-encoded (base16) string -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BinaryHandlingMode
(String value, Supplier<org.apache.kafka.connect.data.SchemaBuilder> schema) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.connect.data.SchemaBuilder
getValue()
Returns the string representation of this valueDetermine if the supplied values is one of the predefined optionsDetermine if the supplied values is one of the predefined optionsReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTES
Represent binary values as byte array -
BASE64
Represent binary values as base64-encoded string -
BASE64_URL_SAFE
Represent binary values as base64-url-safe-encoded string -
HEX
Represents binary values as hex-encoded (base16) string
-
-
Field Details
-
value
-
schema
-
-
Constructor Details
-
BinaryHandlingMode
-
-
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
-
getValue
Description copied from interface:EnumeratedValue
Returns the string representation of this value- Specified by:
getValue
in interfaceEnumeratedValue
- Returns:
- The string representation of this value
-
getSchema
public org.apache.kafka.connect.data.SchemaBuilder getSchema() -
parse
Determine if the supplied values is one of the predefined options- Parameters:
value
- the configuration property value ; may not be null- Returns:
- the matching option, or null if the match is not found
-
parse
Determine if the supplied values is one of the predefined options- Parameters:
value
- the configuration property value ; may not be nulldefaultValue
- the default value ; may be null- Returns:
- the matching option or null if the match is not found and non-null default is invalid
-