Package org.sql2o.converters
Class DoubleConverter
Used by sql2o to convert a value from the database into a
Double.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DoubleconvertNumberValue(Number val) protected DoubleconvertStringValue(String val) protected StringtoDatabaseParam(Double val) Conversion from Java to SQL.Methods inherited from class org.sql2o.converters.NumberConverter
convert
-
Constructor Details
-
Method Details
-
convertNumberValue
- Specified by:
convertNumberValuein classNumberConverter<Double>
-
convertStringValue
- Specified by:
convertStringValuein classNumberConverter<Double>
-
getTypeDescription
- Specified by:
getTypeDescriptionin classNumberConverter<Double>
-
toDatabaseParam
Description copied from interface:ConverterConversion from Java to SQL.- Specified by:
toDatabaseParamin interfaceConverter<T>
-