Package oracle.sql.json
Interface OracleJsonString
-
- All Superinterfaces:
OracleJsonValue
public interface OracleJsonString extends OracleJsonValue
A SQL/JSON string value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.sql.json.OracleJsonValue
OracleJsonValue.OracleJsonType
-
-
Field Summary
-
Fields inherited from interface oracle.sql.json.OracleJsonValue
FALSE, NULL, TRUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares the specified object with thisOracleJsonString.CHARgetCHAR()Returns this value as ajava.sql.CHARjava.lang.CharSequencegetChars()Returns this value as aCharSequence.java.lang.StringgetString()Returns this value as aString.inthashCode()Returns a hash code that is equal togetString().hashCode().-
Methods inherited from interface oracle.sql.json.OracleJsonValue
asJsonArray, asJsonBinary, asJsonDate, asJsonDecimal, asJsonDouble, asJsonFloat, asJsonIntervalDS, asJsonIntervalYM, asJsonNumber, asJsonObject, asJsonString, asJsonTimestamp, asJsonTimestampTZ, asJsonVector, getOracleJsonType, toString, wrap
-
-
-
-
Method Detail
-
getString
java.lang.String getString()
Returns this value as aString.- Returns:
- the string
-
getChars
java.lang.CharSequence getChars()
Returns this value as aCharSequence.- Returns:
- the character sequence
-
getCHAR
CHAR getCHAR()
Returns this value as ajava.sql.CHAR- Returns:
- the CHAR value
-
hashCode
int hashCode()
Returns a hash code that is equal togetString().hashCode().- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hash code
-
equals
boolean equals(java.lang.Object obj)
Compares the specified object with thisOracleJsonString. Returns true if and only if the other object is an instance ofOracleJsonStringandgetString().equals(((OracleJsonString)obj).getString())- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to be compared for equality- Returns:
- true if the specified object is equal to this
OracleJsonString.
-
-