public class RealType extends BasicType<Double> implements PrimitiveDoubleType
| Modifier and Type | Method and Description |
|---|---|
Double |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int). |
Keyword |
getIdentifier() |
double |
readDouble(ResultSet results,
int column) |
void |
writeDouble(PreparedStatement statement,
int index,
double value) |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefaultLength, getIdentifierSuffix, getSqlType, hasLength, read, writepublic Double fromResult(ResultSet results, int column) throws SQLException
BasicTypeResultSet get method rather than
ResultSet.getObject(int).fromResult in class BasicType<Double>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<Double>getIdentifier in class BasicType<Double>String or Keywordpublic double readDouble(ResultSet results, int column) throws SQLException
readDouble in interface PrimitiveDoubleTypeSQLExceptionpublic void writeDouble(PreparedStatement statement, int index, double value) throws SQLException
writeDouble in interface PrimitiveDoubleTypeSQLException