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