T - java typepublic abstract class BasicType<T> extends BaseType<T>
ResultSet get method rather than
ResultSet.getObject(int).| Modifier | Constructor and Description |
|---|---|
protected |
BasicType(Class<T> type,
int sqlType)
Instantiates a new type instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
fromResult(ResultSet results,
int column)
Reads a result using a specific
ResultSet get method rather than
ResultSet.getObject(int). |
abstract Keyword |
getIdentifier() |
T |
read(ResultSet results,
int column)
Read the type from a JDBC
ResultSet. |
equals, getDefaultLength, getIdentifierSuffix, getSqlType, hashCode, hasLength, toString, writepublic abstract T fromResult(ResultSet results, int column) throws SQLException
ResultSet get method rather than
ResultSet.getObject(int).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 T read(ResultSet results, int column) throws SQLException
FieldTypeResultSet.public abstract Keyword getIdentifier()
getIdentifier in interface FieldType<T>getIdentifier in class BaseType<T>String or Keyword