Interface OracleJsonString

All Superinterfaces:
OracleJsonValue

public interface OracleJsonString extends OracleJsonValue
A SQL/JSON string value.
  • Method Details

    • getString

      String getString()
      Returns this value as a String.
      Returns:
      the string
    • getChars

      CharSequence getChars()
      Returns this value as a CharSequence.
      Returns:
      the character sequence
    • getCHAR

      CHAR getCHAR()
      Returns this value as a java.sql.CHAR
      Returns:
      the CHAR value
    • hashCode

      int hashCode()
      Returns a hash code that is equal to getString().hashCode().
      Overrides:
      hashCode in class Object
      Returns:
      the hash code
    • equals

      boolean equals(Object obj)
      Compares the specified object with this OracleJsonString. Returns true if and only if the other object is an instance of OracleJsonString and getString().equals(((OracleJsonString)obj).getString())
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to be compared for equality
      Returns:
      true if the specified object is equal to this OracleJsonString.