public class LocalTimeType extends AbstractJodaTimeDateTimeType<org.joda.time.LocalTime>
LocalTimeType
maps LocalTime
to Time on the JDBC leveldateFormatter, dateTimeFormatter, timeFormatter
Constructor and Description |
---|
LocalTimeType() |
LocalTimeType(int type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLiteral(org.joda.time.LocalTime value)
Get the literal representation
|
java.lang.Class<org.joda.time.LocalTime> |
getReturnedClass()
Get the returned type
|
org.joda.time.LocalTime |
getValue(java.sql.ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(java.sql.PreparedStatement st,
int startIndex,
org.joda.time.LocalTime value)
Set the object to the statement
|
utc
getSQLTypes
public LocalTimeType()
public LocalTimeType(int type)
public java.lang.String getLiteral(org.joda.time.LocalTime value)
Type
getLiteral
in interface Type<org.joda.time.LocalTime>
getLiteral
in class AbstractType<org.joda.time.LocalTime>
value
- valuepublic java.lang.Class<org.joda.time.LocalTime> getReturnedClass()
Type
public org.joda.time.LocalTime getValue(java.sql.ResultSet rs, int startIndex) throws java.sql.SQLException
Type
rs
- result setstartIndex
- column index in result setjava.sql.SQLException
public void setValue(java.sql.PreparedStatement st, int startIndex, org.joda.time.LocalTime value) throws java.sql.SQLException
Type
st
- statementstartIndex
- column index in statementvalue
- value to be setjava.sql.SQLException
Copyright © 2007–2021 Querydsl. All rights reserved.