public class FloatType extends BasicType<Float> implements PrimitiveFloatType
| Modifier and Type | Method and Description |
|---|---|
Float |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int). |
Keyword |
getIdentifier() |
float |
readFloat(ResultSet results,
int column) |
void |
writeFloat(PreparedStatement statement,
int index,
float value) |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefaultLength, getIdentifierSuffix, getSqlType, hasLength, read, writepublic Float fromResult(ResultSet results, int column) throws SQLException
BasicTypeResultSet get method rather than
ResultSet.getObject(int).fromResult in class BasicType<Float>results - ResultSet set to the index of the result to be readcolumn - column index to readResultSetSQLException - on a failure to read from the result setpublic Keyword getIdentifier()
getIdentifier in interface FieldType<Float>getIdentifier in class BasicType<Float>String or Keywordpublic float readFloat(ResultSet results, int column) throws SQLException
readFloat in interface PrimitiveFloatTypeSQLExceptionpublic void writeFloat(PreparedStatement statement, int index, float value) throws SQLException
writeFloat in interface PrimitiveFloatTypeSQLException