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 boolean
equals(Object obj)
Compares the specified object with thisOracleJsonString
.CHAR
getCHAR()
Returns this value as ajava.sql.CHAR
CharSequence
getChars()
Returns this value as aCharSequence
.String
getString()
Returns this value as aString
.int
hashCode()
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, getOracleJsonType, toString, wrap
-
-
-
-
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 ofOracleJsonString
andgetString().equals(((OracleJsonString)obj).getString())
-
-