public class JSR310OffsetTimeType extends AbstractJSR310DateTimeType<java.time.OffsetTime>
dateFormatter, dateTimeFormatter, timeFormatter
Constructor and Description |
---|
JSR310OffsetTimeType() |
JSR310OffsetTimeType(int type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLiteral(java.time.OffsetTime value)
Get the literal representation
|
java.lang.Class<java.time.OffsetTime> |
getReturnedClass()
Get the returned type
|
@Nullable java.time.OffsetTime |
getValue(java.sql.ResultSet rs,
int startIndex)
Get the object from the result set
|
void |
setValue(java.sql.PreparedStatement st,
int startIndex,
java.time.OffsetTime value)
Set the object to the statement
|
utc
getSQLTypes
public JSR310OffsetTimeType()
public JSR310OffsetTimeType(int type)
public java.lang.String getLiteral(java.time.OffsetTime value)
Type
getLiteral
in interface Type<java.time.OffsetTime>
getLiteral
in class AbstractType<java.time.OffsetTime>
value
- valuepublic java.lang.Class<java.time.OffsetTime> getReturnedClass()
Type
@Nullable public @Nullable java.time.OffsetTime 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, java.time.OffsetTime 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.