public class BooleanType extends AbstractType<Boolean>
BooleanType maps Boolean to Boolean on the JDBC level| Constructor and Description |
|---|
BooleanType() |
BooleanType(int type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteral(Boolean value)
Get the literal representation
|
Class<Boolean> |
getReturnedClass()
Get the returned type
|
Boolean |
getValue(ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int startIndex,
Boolean value)
Set the object to the statement
|
getSQLTypespublic Boolean getValue(ResultSet rs, int startIndex) throws SQLException
Typers - result setstartIndex - column index in result setSQLExceptionpublic Class<Boolean> getReturnedClass()
Typepublic String getLiteral(Boolean value)
TypegetLiteral in interface Type<Boolean>getLiteral in class AbstractType<Boolean>value - valuepublic void setValue(PreparedStatement st, int startIndex, Boolean value) throws SQLException
Typest - statementstartIndex - column index in statementvalue - value to be setSQLExceptionCopyright © 2007–2020 Querydsl. All rights reserved.