Package io.debezium.relational
Interface DefaultValueConverter.DefaultValueMapper
-
- Enclosing interface:
- DefaultValueConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface DefaultValueConverter.DefaultValueMapper
Converts the raw JDBC default value expression for a column into an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
parse(Column column, String value)
Parses the string-representation of the default value to an object.
-
-
-
Method Detail
-
parse
Object parse(Column column, String value) throws Exception
Parses the string-representation of the default value to an object.- Parameters:
column
- the column, should never benull
value
- the default value string representation / expression- Returns:
- the default value
- Throws:
Exception
- if there was a parsing error
-
-