public final class Mappers extends Object
ResultSet.ColumnMapper,
RowMapperpublic static final BasicColumnMapper<Boolean> getBoolean
boolean. Unlike the ResultSet.getBoolean(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Boolean.
However, for nullable columns, the getNullableBoolean mapper should be preferred over this.ResultSet.getBoolean(String)public static final NullableColumnMapper<Boolean> getNullableBoolean
ResultSet.getBoolean(String)public static final BasicColumnMapper<Byte> getByte
byte. Unlike the ResultSet.getByte(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Byte.
However, for nullable columns, the getNullableByte mapper should be preferred over this.ResultSet.getByte(String)public static final NullableColumnMapper<Byte> getNullableByte
ResultSet.getByte(String)public static final BasicColumnMapper<Short> getShort
short. Unlike the ResultSet.getShort(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Short.
However, for nullable columns, the getNullableShort mapper should be preferred over this.ResultSet.getShort(String)public static final NullableColumnMapper<Short> getNullableShort
ResultSet.getShort(String)public static final BasicColumnMapper<Integer> getInt
int. Unlike the ResultSet.getInt(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Integer.
However, for nullable columns, the getNullableInt mapper should be preferred over this.ResultSet.getInt(String)public static final NullableColumnMapper<Integer> getNullableInt
ResultSet.getInt(String)public static final BasicColumnMapper<Long> getLong
long. Unlike the ResultSet.getLong(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Long.
However, for nullable columns, the getNullableLong mapper should be preferred over this.ResultSet.getLong(String)public static final NullableColumnMapper<Long> getNullableLong
ResultSet.getLong(String)public static final BasicColumnMapper<Float> getFloat
float. Unlike the ResultSet.getFloat(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Float.
However, for nullable columns, the getNullableFloat mapper should be preferred over this.ResultSet.getFloat(String)public static final NullableColumnMapper<Float> getNullableFloat
ResultSet.getFloat(String)public static final BasicColumnMapper<Double> getDouble
double. Unlike the ResultSet.getDouble(String),
this mapper yields null for SQL NULL, as the returned value is a boxed Double.
However, for nullable columns, the getNullableDouble mapper should be preferred over this.ResultSet.getDouble(String)public static final NullableColumnMapper<Double> getNullableDouble
ResultSet.getDouble(String)public static final BasicColumnMapper<BigDecimal> getBigDecimal
ResultSet.getBigDecimal(String)public static final NullableColumnMapper<BigDecimal> getNullableBigDecimal
ResultSet.getBigDecimal(String)public static final BasicColumnMapper<byte[]> getBytes
ResultSet.getBytes(String)public static final NullableColumnMapper<byte[]> getNullableBytes
ResultSet.getBytes(String)public static final BasicColumnMapper<String> getString
ResultSet.getString(String)public static final NullableColumnMapper<String> getNullableString
ResultSet.getString(String)public static final BasicColumnMapper<URL> getURL
ResultSet.getURL(String)public static final NullableColumnMapper<URL> getNullableURL
ResultSet.getURL(String)public static final BasicColumnMapper<Date> getDate
ResultSet.getDate(String)public static final NullableColumnMapper<Date> getNullableDate
ResultSet.getDate(String)public static final BasicColumnMapper<Timestamp> getTimestamp
ResultSet.getTimestamp(String)public static final NullableColumnMapper<Timestamp> getNullableTimestamp
ResultSet.getTimestamp(String)public static final BasicColumnMapper<Instant> getInstant
public static final NullableColumnMapper<Instant> getNullableInstant
public static final BasicColumnMapper<InputStream> getAsciiStream
ResultSet.getAsciiStream(String)public static final NullableColumnMapper<InputStream> getNullableAsciiStream
ResultSet.getAsciiStream(String)public static final BasicColumnMapper<InputStream> getBinaryStream
ResultSet.getBinaryStream(String)public static final NullableColumnMapper<InputStream> getNullableBinaryStream
ResultSet.getBinaryStream(String)public static final BasicColumnMapper<Reader> getCharacterStream
ResultSet.getCharacterStream(String)public static final NullableColumnMapper<Reader> getNullableCharacterStream
ResultSet.getCharacterStream(String)Copyright © 2019 Digipost. All rights reserved.