Package com.mysql.cj.result
Class AbstractDateTimeValueFactory<T>
java.lang.Object
com.mysql.cj.result.DefaultValueFactory<T>
com.mysql.cj.result.AbstractDateTimeValueFactory<T>
- All Implemented Interfaces:
ValueFactory<T>
- Direct Known Subclasses:
LocalDateTimeValueFactory
,LocalDateValueFactory
,LocalTimeValueFactory
,OffsetDateTimeValueFactory
,OffsetTimeValueFactory
,SqlDateValueFactory
,SqlTimestampValueFactory
,SqlTimeValueFactory
,UtilCalendarValueFactory
,ZonedDateTimeValueFactory
public abstract class AbstractDateTimeValueFactory<T> extends DefaultValueFactory<T>
-
Field Summary
Fields inherited from class com.mysql.cj.result.DefaultValueFactory
jdbcCompliantTruncationForReads, pset
-
Constructor Summary
Constructors Constructor Description AbstractDateTimeValueFactory(PropertySet pset)
-
Method Summary
Modifier and Type Method Description T
createFromBytes(byte[] bytes, int offset, int length, Field f)
T
createFromDate(InternalDate idate)
T
createFromDatetime(InternalTimestamp its)
T
createFromTime(InternalTime it)
T
createFromTimestamp(InternalTimestamp its)
T
createFromYear(long year)
Methods inherited from class com.mysql.cj.result.DefaultValueFactory
createFromBigDecimal, createFromBigInteger, createFromBit, createFromDouble, createFromLong, createFromNull, setPropertySet, unsupported
-
Constructor Details
-
Method Details
-
createFromDate
- Specified by:
createFromDate
in interfaceValueFactory<T>
- Overrides:
createFromDate
in classDefaultValueFactory<T>
-
createFromTime
- Specified by:
createFromTime
in interfaceValueFactory<T>
- Overrides:
createFromTime
in classDefaultValueFactory<T>
-
createFromTimestamp
- Specified by:
createFromTimestamp
in interfaceValueFactory<T>
- Overrides:
createFromTimestamp
in classDefaultValueFactory<T>
-
createFromDatetime
- Specified by:
createFromDatetime
in interfaceValueFactory<T>
- Overrides:
createFromDatetime
in classDefaultValueFactory<T>
-
createFromYear
- Specified by:
createFromYear
in interfaceValueFactory<T>
- Overrides:
createFromYear
in classDefaultValueFactory<T>
-
createFromBytes
-