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