Class DoubleType

java.lang.Object
com.querydsl.sql.types.AbstractType<Double>
com.querydsl.sql.types.DoubleType
All Implemented Interfaces:
Type<Double>

public class DoubleType extends AbstractType<Double>
DoubleType maps Double to Double on the JDBC level
Author:
tiwe
  • Constructor Details

    • DoubleType

      public DoubleType()
    • DoubleType

      public DoubleType(int type)
  • Method Details

    • getReturnedClass

      public Class<Double> getReturnedClass()
      Description copied from interface: Type
      Get the returned type
      Returns:
      returned class
    • getValue

      public Double getValue(ResultSet rs, int startIndex) throws SQLException
      Description copied from interface: Type
      Get the object from the result set
      Parameters:
      rs - result set
      startIndex - column index in result set
      Returns:
      value
      Throws:
      SQLException
    • setValue

      public void setValue(PreparedStatement st, int startIndex, Double value) throws SQLException
      Description copied from interface: Type
      Set the object to the statement
      Parameters:
      st - statement
      startIndex - column index in statement
      value - value to be set
      Throws:
      SQLException