T - public interface Type<T>
getValue(ResultSet, int) is used for extraction and setValue(PreparedStatement, int, T) is used for population
| Modifier and Type | Method and Description |
|---|---|
String |
getLiteral(T value)
Get the literal representation
|
Class<T> |
getReturnedClass()
Get the returned type
|
int[] |
getSQLTypes()
Get the SQL supported SQL types
|
T |
getValue(ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(PreparedStatement st,
int startIndex,
T value)
Set the object to the statement
|
int[] getSQLTypes()
String getLiteral(T value)
value - value@Nullable T getValue(ResultSet rs, int startIndex) throws SQLException
rs - result setstartIndex - column index in result setSQLExceptionvoid setValue(PreparedStatement st, int startIndex, T value) throws SQLException
st - statementstartIndex - column index in statementvalue - value to be setSQLExceptionCopyright © 2007–2016 Querydsl. All rights reserved.