Package io.debezium.schema
Class FieldNameUnicodeReplacementFunction
java.lang.Object
io.debezium.schema.UnicodeReplacementFunction
io.debezium.schema.FieldNameUnicodeReplacementFunction
- All Implemented Interfaces:
ReplacementFunction
A field name unicode replacement inheritance of
UnicodeReplacementFunction
- Author:
- Harvey Yue
-
Field Summary
Fields inherited from interface io.debezium.spi.common.ReplacementFunction
REPLACEMENT_CHAR, UNDERSCORE_REPLACEMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidNonFirstCharacter
(char c) Use underscore as escape sequence instead of backslash, so treat underscore as an invalid character is expected.Methods inherited from class io.debezium.schema.UnicodeReplacementFunction
isValidFirstCharacter, replace
-
Constructor Details
-
FieldNameUnicodeReplacementFunction
public FieldNameUnicodeReplacementFunction()
-
-
Method Details
-
isValidNonFirstCharacter
public boolean isValidNonFirstCharacter(char c) Use underscore as escape sequence instead of backslash, so treat underscore as an invalid character is expected. Legal characters are [a-zA-Z] for the first character and [a-zA-Z0-9] thereafter.
-