public class TinyIntType extends BasicType<Byte> implements PrimitiveByteType
| Constructor and Description |
|---|
TinyIntType(Class<Byte> type) |
| Modifier and Type | Method and Description |
|---|---|
Byte |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int). |
Keyword |
getIdentifier() |
byte |
readByte(ResultSet results,
int column) |
void |
writeByte(PreparedStatement statement,
int index,
byte value) |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDefaultLength, getIdentifierSuffix, getSqlType, hasLength, read, writepublic Byte fromResult(ResultSet results, int column) throws SQLException
BasicTypeResultSet get method rather than
ResultSet.getObject(int).fromResult in class BasicType<Byte>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<Byte>getIdentifier in class BasicType<Byte>String or Keywordpublic byte readByte(ResultSet results, int column) throws SQLException
readByte in interface PrimitiveByteTypeSQLExceptionpublic void writeByte(PreparedStatement statement, int index, byte value) throws SQLException
writeByte in interface PrimitiveByteTypeSQLException