Class UnprocessedPreparedStatementName

    • Method Detail

      • statementName

        public final String statementName()

        The name of a prepared statement that could not be returned due to an error.

        Returns:
        The name of a prepared statement that could not be returned due to an error.
      • errorCode

        public final String errorCode()

        The error code returned when the request for the prepared statement failed.

        Returns:
        The error code returned when the request for the prepared statement failed.
      • errorMessage

        public final String errorMessage()

        The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

        • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).

        • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.

        • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

        Returns:
        The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:

        • INVALID_INPUT - The name of the prepared statement that was provided is not valid (for example, the name is too long).

        • STATEMENT_NOT_FOUND - A prepared statement with the name provided could not be found.

        • UNAUTHORIZED - The requester does not have permission to access the workgroup that contains the prepared statement.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)