Package org.fugerit.java.core.db.dao.rse
Class BigDecimalRSE
- java.lang.Object
-
- org.fugerit.java.core.db.dao.rse.SingleColumnRSE<BigDecimal>
-
- org.fugerit.java.core.db.dao.rse.BigDecimalRSE
-
- All Implemented Interfaces:
RSExtractor<BigDecimal>
public class BigDecimalRSE extends SingleColumnRSE<BigDecimal>
Result Set Extractor for Long- Author:
- Fugerit
-
-
Field Summary
Fields Modifier and Type Field Description static BigDecimalRSE
DEFAULT
-
Fields inherited from class org.fugerit.java.core.db.dao.rse.SingleColumnRSE
DEFAULT_COLUMN_INDEX, USE_NAME_INDEX
-
-
Constructor Summary
Constructors Constructor Description BigDecimalRSE()
BigDecimalRSE(int index)
BigDecimalRSE(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigDecimal
convert(Object o)
BigDecimal
extractNext(ResultSet rs)
-
Methods inherited from class org.fugerit.java.core.db.dao.rse.SingleColumnRSE
getColumnIndex, getColumnName, isUseColumnIndex, isUseColumnName
-
-
-
-
Field Detail
-
DEFAULT
public static final BigDecimalRSE DEFAULT
-
-
Constructor Detail
-
BigDecimalRSE
public BigDecimalRSE()
-
BigDecimalRSE
public BigDecimalRSE(int index)
-
BigDecimalRSE
public BigDecimalRSE(String name)
-
-
Method Detail
-
convert
protected BigDecimal convert(Object o)
- Specified by:
convert
in classSingleColumnRSE<BigDecimal>
-
extractNext
public BigDecimal extractNext(ResultSet rs) throws SQLException
- Specified by:
extractNext
in interfaceRSExtractor<BigDecimal>
- Overrides:
extractNext
in classSingleColumnRSE<BigDecimal>
- Throws:
SQLException
-
-