public class BigIntColumnMapping extends AbstractColumnMapping
column, mapping, storeMgr| Constructor and Description |
|---|
BigIntColumnMapping(JavaTypeMapping mapping,
RDBMSStoreManager storeMgr,
Column col)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInt(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.
|
long |
getLong(ResultSet rs,
int param)
Obtains a value from
resultSet
at position specified by exprIndex. |
Object |
getObject(ResultSet rs,
int param)
Method to retrieve a Big int from a ResultSet.
|
String |
getString(ResultSet resultSet,
int exprIndex)
Obtains a value from
resultSet
at position specified by exprIndex. |
void |
setInt(PreparedStatement ps,
int param,
int value)
Sets a
value into ps
at position specified by paramIndex. |
void |
setLong(PreparedStatement ps,
int param,
long value)
Sets a
value into ps
at position specified by paramIndex. |
void |
setObject(PreparedStatement ps,
int param,
Object value)
Setter for a parameter in a PreparedStatement
|
void |
setString(PreparedStatement ps,
int exprIndex,
String value)
Sets a
value into ps
at position specified by paramIndex. |
equals, failureMessage, failureMessage, failureMessage, getBoolean, getByte, getChar, getColumn, getDatastoreAdapter, getDouble, getFloat, getInsertionInputParameter, getJavaTypeMapping, getShort, getTypeInfo, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setShort, useDefaultWhenNullpublic BigIntColumnMapping(JavaTypeMapping mapping, RDBMSStoreManager storeMgr, Column col)
mapping - Java type mappingstoreMgr - Store Managercol - Columnpublic int getJDBCType()
AbstractColumnMappinggetJDBCType in class AbstractColumnMappingpublic void setInt(PreparedStatement ps, int param, int value)
ColumnMappingvalue into ps
at position specified by paramIndex.setInt in interface ColumnMappingsetInt in class AbstractColumnMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic int getInt(ResultSet rs, int param)
ColumnMappingresultSet
at position specified by exprIndex.getInt in interface ColumnMappinggetInt in class AbstractColumnMappingrs - ResultSetparam - the position of the value in the resultpublic void setLong(PreparedStatement ps, int param, long value)
ColumnMappingvalue into ps
at position specified by paramIndex.setLong in interface ColumnMappingsetLong in class AbstractColumnMappingps - PreparedStatementparam - the position of the value in the statementvalue - the valuepublic long getLong(ResultSet rs, int param)
ColumnMappingresultSet
at position specified by exprIndex.getLong in interface ColumnMappinggetLong in class AbstractColumnMappingrs - ResultSetparam - the position of the value in the resultpublic void setString(PreparedStatement ps, int exprIndex, String value)
ColumnMappingvalue into ps
at position specified by paramIndex.setString in interface ColumnMappingsetString in class AbstractColumnMappingps - PreparedStatementexprIndex - the position of the value in the statementvalue - the valuepublic String getString(ResultSet resultSet, int exprIndex)
ColumnMappingresultSet
at position specified by exprIndex.getString in interface ColumnMappinggetString in class AbstractColumnMappingresultSet - ResultSetexprIndex - the position of the value in the resultpublic void setObject(PreparedStatement ps, int param, Object value)
setObject in interface ColumnMappingsetObject in class AbstractColumnMappingps - The PreparedStatementparam - The parameter number to setvalue - The value to set it to.public Object getObject(ResultSet rs, int param)
getObject in interface ColumnMappinggetObject in class AbstractColumnMappingrs - ResultSetparam - The Parameter number in the result setCopyright © 2020. All rights reserved.