java.lang.Object
java.lang.Number
org.jooq.Decfloat
- All Implemented Interfaces:
- Serializable,- Data
A wrapper type for SQL:2016 standard 
DECFLOAT data types.
 
 The wrapper represents DECFLOAT data() in serialised string form. A
 CAST(NULL AS DECFLOAT) value is represented by a
 null reference of type Decfloat, not as
 data() == null. This is consistent with jOOQ's general way of
 returning NULL from Result and Record methods.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionfinal @NotNull Stringdata()static final @NotNull DecfloatCreate a newDecfloatinstance from string data input.static final @Nullable DecfloatdecfloatOrNull(String data) final doublebooleanfinal floatinthashCode()final intintValue()final booleanisNaN()Check whether this value is theDecfloatequivalent ofDouble.NaN.final booleanCheck whether this value is theDecfloatequivalent ofDouble.NEGATIVE_INFINITY.final booleanCheck whether this value is theDecfloatequivalent ofDouble.POSITIVE_INFINITY.final longtoString()static final @NotNull DecfloatCreate a newDecfloatinstance from string data input.Methods inherited from class java.lang.NumberbyteValue, shortValue
- 
Method Details- 
dataDescription copied from interface:Data
- 
valueOfCreate a newDecfloatinstance from string data input.
- 
decfloatCreate a newDecfloatinstance from string data input.This is the same as valueOf(String), but it can be static imported.
- 
decfloatOrNull
- 
isNaNpublic final boolean isNaN()Check whether this value is theDecfloatequivalent ofDouble.NaN.
- 
isPositiveInfinitypublic final boolean isPositiveInfinity()Check whether this value is theDecfloatequivalent ofDouble.POSITIVE_INFINITY.
- 
isNegativeInfinitypublic final boolean isNegativeInfinity()Check whether this value is theDecfloatequivalent ofDouble.NEGATIVE_INFINITY.
- 
doubleValuepublic final double doubleValue()- Specified by:
- doubleValuein class- Number
 
- 
floatValuepublic final float floatValue()- Specified by:
- floatValuein class- Number
 
- 
intValuepublic final int intValue()
- 
longValuepublic final long longValue()
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-