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