Package com.querydsl.sql.types
Class JSR310LocalDateTimeType
java.lang.Object
com.querydsl.sql.types.AbstractType<T>
com.querydsl.sql.types.AbstractDateTimeType<T>
com.querydsl.sql.types.AbstractJSR310DateTimeType<LocalDateTime>
com.querydsl.sql.types.JSR310LocalDateTimeType
- All Implemented Interfaces:
Type<LocalDateTime>
-
Field Summary
Fields inherited from class com.querydsl.sql.types.AbstractDateTimeType
dateFormatter, dateTimeFormatter, dateTimeOffsetFormatter, dateTimeZoneFormatter, timeFormatter, timeOffsetFormatter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLiteral(LocalDateTime value) Get the literal representationGet the returned type@Nullable LocalDateTimeGet the object from the result setvoidsetValue(PreparedStatement st, int startIndex, LocalDateTime value) Set the object to the statementMethods inherited from class com.querydsl.sql.types.AbstractDateTimeType
utcMethods inherited from class com.querydsl.sql.types.AbstractType
getSQLTypes
-
Constructor Details
-
JSR310LocalDateTimeType
public JSR310LocalDateTimeType() -
JSR310LocalDateTimeType
public JSR310LocalDateTimeType(int type)
-
-
Method Details
-
getLiteral
Description copied from interface:TypeGet the literal representation- Specified by:
getLiteralin interfaceType<LocalDateTime>- Overrides:
getLiteralin classAbstractType<LocalDateTime>- Parameters:
value- value- Returns:
- literal representation
-
getReturnedClass
Description copied from interface:TypeGet the returned type- Returns:
- returned class
-
getValue
Description copied from interface:TypeGet the object from the result set- Parameters:
rs- result setstartIndex- column index in result set- Returns:
- value
- Throws:
SQLException
-
setValue
Description copied from interface:TypeSet the object to the statement- Parameters:
st- statementstartIndex- column index in statementvalue- value to be set- Throws:
SQLException
-