public class FloatRDBMSMapping extends DoubleRDBMSMapping
column, mapping, storeMgr| Constructor and Description |
|---|
FloatRDBMSMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getFloat(ResultSet rs,
int param)
Obtains a value from
resultSet
at position specified by exprIndex. |
int |
getJDBCType()
Method to return the java.sql.Types type that this relates to.
|
Object |
getObject(ResultSet rs,
int param)
Obtains a value from
resultSet
at position specified by exprIndex. |
void |
setFloat(PreparedStatement ps,
int param,
float value)
Sets a
value into ps
at position specified by paramIndex. |
void |
setObject(PreparedStatement ps,
int param,
Object value)
Sets a
value into ps
at position specified by paramIndex. |
getDouble, getInt, getLong, isDecimalBased, setDouble, setInt, setLongequals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getInsertionInputParameter, getJavaTypeMapping, getShort, getString, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setShort, setString, useDefaultWhenNullpublic FloatRDBMSMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - The java type mappingstoreMgr - Store Managercol - Columnpublic int getJDBCType()
AbstractDatastoreMappinggetJDBCType in class DoubleRDBMSMappingpublic float getFloat(ResultSet rs, int param)
DatastoreMappingresultSet
at position specified by exprIndex.getFloat in interface DatastoreMappinggetFloat in class DoubleRDBMSMappingrs - ResultSetparam - the position of the value in the resultpublic void setFloat(PreparedStatement ps, int param, float value)
DatastoreMappingvalue into ps
at position specified by paramIndex.setFloat in interface DatastoreMappingsetFloat in class DoubleRDBMSMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic void setObject(PreparedStatement ps, int param, Object value)
DatastoreMappingvalue into ps
at position specified by paramIndex.setObject in interface DatastoreMappingsetObject in class DoubleRDBMSMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic Object getObject(ResultSet rs, int param)
DatastoreMappingresultSet
at position specified by exprIndex.getObject in interface DatastoreMappinggetObject in class DoubleRDBMSMappingrs - ResultSetparam - the position of the value in the resultCopyright © 2019. All rights reserved.