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

    Modifier and Type
    Method
    Description
    parse(Column column, String value)
    Parses the string-representation of the default value to an object.
  • Method Details

    • 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 be null
      value - the default value string representation / expression
      Returns:
      the default value
      Throws:
      Exception - if there was a parsing error