Package oracle.sql.json
Interface OracleJsonString
-
- All Superinterfaces:
OracleJsonValue
public interface OracleJsonString extends OracleJsonValue
A SQL/JSON string value.
-
<section role="region">
-
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(Object obj)Compares the specified object with thisOracleJsonString.CHARgetCHAR()Returns this value as ajava.sql.CHARCharSequencegetChars()Returns this value as aCharSequence.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, getOracleJsonType, toString, wrap
-
-
-
<section role="region">
-
Method Detail
-
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
boolean equals(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())
-
-