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