Interface ValueHandler


  • public interface ValueHandler
    Defines how the data from a particular column of a JDBC table are turned into java objects.
    Since:
    2 Feb 2010
    Author:
    Mark Taylor
    See Also:
    TypeMapper
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ColumnInfo getColumnInfo()
      Returns the column metadata for this column.
      java.lang.Object getValue​(java.lang.Object baseValue)
      Translates a value from the form that it takes in the ResultSet to a form which can be used for further processing.
    • Method Detail

      • getColumnInfo

        ColumnInfo getColumnInfo()
        Returns the column metadata for this column.
        Returns:
        column metadata
      • getValue

        java.lang.Object getValue​(java.lang.Object baseValue)
        Translates a value from the form that it takes in the ResultSet to a form which can be used for further processing.
        Parameters:
        baseValue - ResultSet value
        Returns:
        value for processing