Package org.fugerit.java.core.db.dao.rse
Class PropertyRSE
- java.lang.Object
-
- org.fugerit.java.core.db.dao.rse.PropertyRSE
-
- All Implemented Interfaces:
Serializable
,RSExtractor<Properties>
public abstract class PropertyRSE extends Object implements RSExtractor<Properties>, Serializable
Convert a ResultSet record to a Property object. Property data are column name / column value set.- Author:
- Fugerit
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyRSE
DEFAULT_REUSABLE
-
Constructor Summary
Constructors Constructor Description PropertyRSE()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Properties
extractNext(ResultSet rs)
static PropertyRSE
newAutoCachingMetadataRSE()
static PropertyRSE
newNoReusableRSE(ResultSet configRS)
Creates a new PropertyRSE non-reusable (columns name are cached)static PropertyRSE
newReusableRSE()
Creates a new reusable PropertyRSE
-
-
-
Field Detail
-
DEFAULT_REUSABLE
public static final PropertyRSE DEFAULT_REUSABLE
-
-
Method Detail
-
newReusableRSE
public static PropertyRSE newReusableRSE()
Creates a new reusable PropertyRSE- Returns:
- the RSExtractor
-
newNoReusableRSE
public static PropertyRSE newNoReusableRSE(ResultSet configRS) throws SQLException
Creates a new PropertyRSE non-reusable (columns name are cached)- Parameters:
configRS
- the result set used for configuration- Returns:
- the RSExctractor
- Throws:
SQLException
- in case of issues
-
newAutoCachingMetadataRSE
public static PropertyRSE newAutoCachingMetadataRSE()
-
extractNext
public abstract Properties extractNext(ResultSet rs) throws SQLException
- Specified by:
extractNext
in interfaceRSExtractor<Properties>
- Throws:
SQLException
-
-