public interface OracleJsonDecimal extends OracleJsonNumber
| Modifier and Type | Interface and Description |
|---|---|
static class |
OracleJsonDecimal.TargetType
Marker indicating if this value is intended to be mapped to Java int,
long, or BigDecimal/BigInteger.
|
OracleJsonValue.OracleJsonTypeFALSE, NULL, TRUE| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares the specified object with this
OracleJsonDecimal. |
NUMBER |
getNUMBER()
Returns this binary value as a
oracle.sql.NUMBER |
OracleJsonDecimal.TargetType |
getTargetType()
Indicates if this value is intended to be stored in a Java int, long, or
BigDecimal/BigInteger.
|
int |
hashCode()
Returns a hash code equal to
this bigDecimalValue().hashCode(). |
bigDecimalValue, bigIntegerValue, bigIntegerValueExact, doubleValue, floatValue, intValue, intValueExact, isIntegral, longValue, longValueExactasJsonArray, asJsonBinary, asJsonDate, asJsonDecimal, asJsonDouble, asJsonFloat, asJsonIntervalDS, asJsonIntervalYM, asJsonNumber, asJsonObject, asJsonString, asJsonTimestamp, asJsonTimestampTZ, getOracleJsonType, toString, wrapNUMBER getNUMBER()
oracle.sql.NUMBERUnsupportedOperationException - if this value can not be mapped to
oracle.sql.NUMBERint hashCode()
this bigDecimalValue().hashCode().boolean equals(Object obj)
OracleJsonDecimal. Returns
true if and only if the other object is an instance of
OracleJsonDecimal and the result of calling
bigDecimalValue().equals(((OracleJsonDecimal)obj).bigDecimalValue()))
returns true.OracleJsonDecimal.TargetType getTargetType()
OracleJsonGenerator.write(int) and
OracleJsonFactory.createDecimal(int).