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(java.lang.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, asJsonVector, getOracleJsonType, toString, wrapNUMBER getNUMBER()
oracle.sql.NUMBERjava.lang.UnsupportedOperationException - if this value can not be mapped to
oracle.sql.NUMBERint hashCode()
this bigDecimalValue().hashCode().hashCode in class java.lang.Objectboolean equals(java.lang.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.equals in class java.lang.Objectobj - the object to be compared for equalityOracleJsonBinary.OracleJsonDecimal.TargetType getTargetType()
OracleJsonGenerator.write(int) and
OracleJsonFactory.createDecimal(int).