Class FloatTypeHandler

  • All Implemented Interfaces:
    TypeHandler<java.lang.Float>

    public class FloatTypeHandler
    extends BaseTypeHandler<java.lang.Float>
    Author:
    Clinton Begin
    • Constructor Detail

      • FloatTypeHandler

        public FloatTypeHandler()
    • Method Detail

      • setNonNullParameter

        public void setNonNullParameter​(java.sql.PreparedStatement ps,
                                        int i,
                                        java.lang.Float parameter,
                                        JdbcType jdbcType)
                                 throws java.sql.SQLException
        Specified by:
        setNonNullParameter in class BaseTypeHandler<java.lang.Float>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.Float getNullableResult​(java.sql.ResultSet rs,
                                                 java.lang.String columnName)
                                          throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.Float>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.Float getNullableResult​(java.sql.ResultSet rs,
                                                 int columnIndex)
                                          throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.Float>
        Throws:
        java.sql.SQLException
      • getNullableResult

        public java.lang.Float getNullableResult​(java.sql.CallableStatement cs,
                                                 int columnIndex)
                                          throws java.sql.SQLException
        Specified by:
        getNullableResult in class BaseTypeHandler<java.lang.Float>
        Throws:
        java.sql.SQLException