public class BooleanType extends AbstractType<Boolean>
BooleanType
maps Boolean to Boolean on the JDBC levelConstructor 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
|
getSQLTypes
public Boolean getValue(ResultSet rs, int startIndex) throws SQLException
Type
rs
- result setstartIndex
- column index in result setSQLException
public Class<Boolean> getReturnedClass()
Type
public String getLiteral(Boolean value)
Type
getLiteral
in interface Type<Boolean>
getLiteral
in class AbstractType<Boolean>
value
- valuepublic void setValue(PreparedStatement st, int startIndex, Boolean value) throws SQLException
Type
st
- statementstartIndex
- column index in statementvalue
- value to be setSQLException
Copyright © 2007–2016 Querydsl. All rights reserved.