Package oracle.sql.json
Interface OracleJsonString
- All Superinterfaces:
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
Modifier and TypeMethodDescriptionbooleanCompares the specified object with thisOracleJsonString.getCHAR()Returns this value as ajava.sql.CHARgetChars()Returns this value as aCharSequence.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 Details
-
getString
String getString()Returns this value as aString.- Returns:
- the string
-
getChars
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(). -
equals
Compares the specified object with thisOracleJsonString. Returns true if and only if the other object is an instance ofOracleJsonStringandgetString().equals(((OracleJsonString)obj).getString())
-