public class RealColumnMapping extends AbstractColumnMapping
column, mapping, storeMgr| Constructor and Description |
|---|
RealColumnMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col) |
| 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. |
boolean |
isDecimalBased()
Accessor for whether the mapping is decimal-based.
|
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. |
equals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getDouble, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getString, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setInt, setLong, setShort, setString, useDefaultWhenNullpublic RealColumnMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
public boolean isDecimalBased()
isDecimalBased in interface ColumnMappingisDecimalBased in class AbstractColumnMappingpublic int getJDBCType()
AbstractColumnMappinggetJDBCType in class AbstractColumnMappingpublic void setFloat(PreparedStatement ps, int param, float value)
ColumnMappingvalue into ps
at position specified by paramIndex.setFloat in interface ColumnMappingsetFloat in class AbstractColumnMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic float getFloat(ResultSet rs, int param)
ColumnMappingresultSet
at position specified by exprIndex.getFloat in interface ColumnMappinggetFloat in class AbstractColumnMappingrs - ResultSetparam - the position of the value in the resultpublic void setObject(PreparedStatement ps, int param, Object value)
ColumnMappingvalue into ps
at position specified by paramIndex.setObject in interface ColumnMappingsetObject in class AbstractColumnMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic Object getObject(ResultSet rs, int param)
ColumnMappingresultSet
at position specified by exprIndex.getObject in interface ColumnMappinggetObject in class AbstractColumnMappingrs - ResultSetparam - the position of the value in the resultCopyright © 2020. All rights reserved.