public abstract class AbstractDbRowTransformer<T> extends Object implements IRowTransformer<T>
| Constructor and Description |
|---|
AbstractDbRowTransformer(AbstractDb db) |
public AbstractDbRowTransformer(AbstractDb db)
public Collection<T> beforeAll(ResultSetWrapper rsw)
beforeAll in interface IRowTransformer<T>public abstract T transform(ResultSetWrapper rs) throws SQLException
transform in interface IRowTransformer<T>SQLExceptionpublic void onTransformation(Collection<T> result, T object)
onTransformation in interface IRowTransformer<T>public void afterAll(Collection<T> result)
afterAll in interface IRowTransformer<T>protected Driver driver()
public Object toIdentity(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Boolean toBoolean(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic String toString(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Byte toTiny(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Short toShort(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Integer toInteger(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Long toLong(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Double toDecimal(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic BigDecimal toBigDecimal(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Date toTime(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Date toDate(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Date toDateTime(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic Date toTimestamp(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic TextStore toText(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionpublic BinStore toBin(ResultSetWrapper rs, int columnIndex) throws SQLException
SQLExceptionCopyright © 2019. All rights reserved.