Package com.mysql.cj.result
Class AbstractNumericValueFactory<T>
java.lang.Object
com.mysql.cj.result.DefaultValueFactory<T>
com.mysql.cj.result.AbstractNumericValueFactory<T>
- All Implemented Interfaces:
ValueFactory<T>
- Direct Known Subclasses:
BigDecimalValueFactory
,DoubleValueFactory
,FloatValueFactory
,IntegerValueFactory
,LongValueFactory
,ShortValueFactory
public abstract class AbstractNumericValueFactory<T> extends DefaultValueFactory<T>
-
Field Summary
Fields inherited from class com.mysql.cj.result.DefaultValueFactory
jdbcCompliantTruncationForReads, pset
-
Constructor Summary
Constructors Constructor Description AbstractNumericValueFactory(PropertySet pset)
-
Method Summary
Modifier and Type Method Description T
createFromBytes(byte[] bytes, int offset, int length, Field f)
T
createFromYear(long l)
Methods inherited from class com.mysql.cj.result.DefaultValueFactory
createFromBigDecimal, createFromBigInteger, createFromBit, createFromDate, createFromDatetime, createFromDouble, createFromLong, createFromNull, createFromTime, createFromTimestamp, setPropertySet, unsupported
-
Constructor Details
-
Method Details
-
createFromBytes
-
createFromYear
- Specified by:
createFromYear
in interfaceValueFactory<T>
- Overrides:
createFromYear
in classDefaultValueFactory<T>
-