Класс JDBC Result Set . Документацию по этому классу см. в разделе java.sql.ResultSet .
Методы
Подробная документация
absolute(row)
Для получения документации по этому методу см. java.sql.ResultSet#absolute(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
row | Integer | Номер строки, на которую перемещается курсор. Положительное число указывает номер строки, начиная с начала результирующего набора, а отрицательное число — с конца результирующего набора. |
Возвращаться
Boolean — true , если курсор перемещен в определенную позицию в этом наборе результатов; false если курсор находится перед первой строкой или после последней строки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
after Last()
Для получения документации по этому методу см. java.sql.ResultSet#afterLast() .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
before First()
Для получения документации по этому методу см. java.sql.ResultSet#beforeFirst() .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
cancel Row Updates()
Для получения документации по этому методу см. java.sql.ResultSet#cancelRowUpdates() .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
clear Warnings()
Для получения документации по этому методу см. java.sql.ResultSet#clearWarnings() .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
close()
Для получения документации по этому методу см. java.sql.ResultSet#close() .
delete Row()
Для получения документации по этому методу см. java.sql.ResultSet#deleteRow() .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
find Column(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#findColumn(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Integer — индекс указанного столбца.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
first()
Для получения документации по этому методу см. java.sql.ResultSet#first() .
Возвращаться
Boolean — true если курсор находится на допустимой строке; false если в результирующем наборе нет строк.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Array(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getArray(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Array — значение указанного столбца в текущей строке этого результирующего набора в виде массива.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Array(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getArray(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Array — значение указанного столбца в текущей строке этого результирующего набора в виде массива.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Big Decimal(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getBigDecimal(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Big Number — значение столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Big Decimal(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getBigDecimal(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Big Number — значение столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Blob(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getBlob(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Blob — значение указанного столбца в текущей строке этого результирующего набора данных в виде двоичного объекта (blob).
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Blob(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getBlob(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Blob — значение указанного столбца в текущей строке этого результирующего набора данных в виде двоичного объекта (blob).
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Boolean(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getBoolean(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Boolean — значение столбца; false если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Boolean(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getBoolean(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Boolean — значение столбца; false если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Byte(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getByte(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Byte — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Byte(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getByte(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Byte — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Bytes(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getBytes(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Byte[] — значение столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Bytes(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getBytes(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Byte[] — значение столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Clob(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getClob(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Clob — Значение указанного столбца в текущей строке этого результирующего набора в формате CLOB.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Clob(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getClob(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Clob — Значение указанного столбца в текущей строке этого результирующего набора в формате CLOB.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Concurrency()
Для получения документации по этому методу см. java.sql.ResultSet#getConcurrency() .
Возвращаться
Integer — Тип параллельного доступа, который может быть либо Jdbc.ResultSet.CONCUR_READ_ONLY , либо Jdbc.ResultSet.CONCUR_UPDATABLE .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Cursor Name()
Для получения документации по этому методу см. java.sql.ResultSet#getCursorName() .
Возвращаться
String — SQL-имя курсора для этого набора результатов.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Date(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getDate(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Date — значение столбца; null если значение было SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Date(columnIndex, timeZone)
Для получения документации по этому методу см. java.sql.ResultSet#getDate(int, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
time Zone | String | Строка часового пояса используется для создания экземпляра java.lang.Calendar , который, в свою очередь, используется для построения даты. Распознаются несколько форматов строк часовых поясов: короткие идентификаторы (например, PST , EST и GMT ), длинные идентификаторы (например, US/Pacific и America/Los_Angeles ) и смещения (например, GMT+6:30 ). |
Возвращаться
Jdbc Date — значение столбца; null если значение было SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Date(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getDate(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Date — значение столбца; null если значение было SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Date(columnLabel, timeZone)
Для получения документации по этому методу см. java.sql.ResultSet#getDate(String, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
time Zone | String | Строка часового пояса используется для создания экземпляра java.lang.Calendar , который, в свою очередь, используется для построения даты. Распознаются несколько форматов строк часовых поясов: короткие идентификаторы (например, PST , EST и GMT ), длинные идентификаторы (например, US/Pacific и America/Los_Angeles ) и смещения (например, GMT+6:30 ). |
Возвращаться
Jdbc Date — значение столбца; null если значение было SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Double(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getDouble(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Number — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Double(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getDouble(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Number — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Fetch Direction()
Для получения документации по этому методу см. java.sql.ResultSet#getFetchDirection() .
Возвращаться
Integer — указанное направление для установки, которое может быть либо Jdbc.ResultSet.FETCH_FORWARD , либо Jdbc.ResultSet.FETCH_REVERSE .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Fetch Size()
Для получения документации по этому методу см. java.sql.ResultSet#getFetchSize() .
Возвращаться
Integer — текущий размер выборки для этого набора результатов.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Float(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getFloat(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Number — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Float(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getFloat(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Number — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Holdability()
Для получения документации по этому методу см. java.sql.ResultSet#getHoldability() .
Возвращаться
Integer — Возможность удержания этого результирующего набора, которая может быть либо Jdbc.ResultSet.HOLD_CURSORS_OVER_COMMIT , либо Jdbc.ResultSet.CLOSE_CURSORS_AT_COMMIT .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Int(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getInt(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Int(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getInt(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Long(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getLong(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Long(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getLong(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Meta Data()
Для получения документации по этому методу см. java.sql.ResultSet#getMetaData() .
Возвращаться
Jdbc Result Set Meta Data — количество, типы и свойства столбцов этого результирующего набора.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get NClob(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getNClob(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Clob — значение столбца текущей строки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get NClob(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getNClob(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Clob — значение столбца текущей строки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get NString(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getNString(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
String — значение столбца текущей строки; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get NString(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getNString(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
String — значение столбца текущей строки; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Object(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getObject(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Object — значение указанного столбца в текущей строке данного набора результатов.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Object(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getObject(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Object — значение указанного столбца в текущей строке данного набора результатов.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Ref(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getRef(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Ref — значение указанного столбца в текущей строке этого набора результатов, используемое в качестве ссылки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Ref(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getRef(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Ref — значение указанного столбца в текущей строке этого набора результатов, используемое в качестве ссылки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Row()
Для получения документации по этому методу см. java.sql.ResultSet#getRow() .
Возвращаться
Integer — номер текущей строки или 0, если текущей строки нет.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Row Id(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getRowId(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc Row Id — значение идентификатора строки столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Row Id(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getRowId(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc Row Id — значение идентификатора строки столбца; null если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Rows(queryString)
Возвращает все строки из данного объекта Result Set .
query String состоит из разделенных запятыми вызовов методов-геттеров этого Jdbc Result Set , например: "getString(1), getDouble('price'), getDate(3, 'UTC')" . Поддерживаемые методы включают get String , get Int , get Double , get Date и т. д. Аргументами могут быть целочисленные индексы столбцов (начиная с 1) или строковые метки столбцов в одинарных/двойных кавычках.
Использование: Например, чтобы прочитать столбец 1 из результирующего набора, вместо итерации с помощью функции next() используйте функцию get Rows , как показано в следующих примерах.
В следующем примере используется next() :
while (rs.next()) {
Logger.log(rs.getString(1));
} Для повышения производительности используйте функцию get Rows() следующим образом:
var rows = rs.getRows("getString(1)"); for (var i = 0; i < rows.length; i++) { Logger.log(rows[i][0]); }
Примечание: Для больших объемов данных можно использовать get Rows(queryString, batchSize) для пагинации.
Параметры
| Имя | Тип | Описание |
|---|---|---|
query String | String | Строка SQL-запроса, использованная для генерации этого набора результатов. |
Возвращаться
Object[][] — Текущие строки из этого объекта Result Set .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Rows(queryString, batchSize)
Возвращает количество строк, не превышающее batch Size , из объекта Result Set . Последовательный вызов этого метода возобновляет итерацию с того места, где она остановилась в предыдущей итерации.
Применение:
var rows; do { rows = rs.getRows("getString(1)", 100); for (var i = 0; i < rows.length; i++) { Logger.log(rows[i][0]); } } while(rows.length > 0);
Параметры
| Имя | Тип | Описание |
|---|---|---|
query String | String | Строка SQL-запроса, использованная для генерации этого набора результатов. |
batch Size | Integer | Максимальное количество строк, возвращаемых за один вызов. |
Возвращаться
Object[][] — Текущие строки из этого объекта Result Set .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get SQLXML(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getSQLXML(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Jdbc SQLXML — Значение столбца текущей строки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get SQLXML(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getSQLXML(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Jdbc SQLXML — Значение столбца текущей строки.
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Short(columnIndex)
Для получения документации по этому методу см. java.sql.ResultSet#getShort(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | Индекс столбца, из которого нужно получить данные (первый столбец — 1, второй — 2 и так далее). |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Для скриптов, использующих этот метод, требуется авторизация в одной или нескольких из следующих областей действия :
-
https://www.googleapis.com/auth/script.external_request
get Short(columnLabel)
Для получения документации по этому методу см. java.sql.ResultSet#getShort(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | Метка столбца, указанная в предложении SQL AS. Если предложение AS не указано, то меткой является имя столбца. |
Возвращаться
Integer — значение столбца; 0, если значение равно SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Statement()
For documentation of this method, see java.sql.ResultSet#getStatement() .
Возвращаться
Jdbc Statement — The statement that produced this result set, or null if the result set was produced some other way.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get String(columnIndex)
For documentation of this method, see java.sql.ResultSet#getString(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve (the first column is 1, the second is 2, and so on). |
Возвращаться
String — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get String(columnLabel)
For documentation of this method, see java.sql.ResultSet#getString(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
Возвращаться
String — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Time(columnIndex)
For documentation of this method, see java.sql.ResultSet#getTime(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve (the first column is 1, the second is 2, and so on). |
Возвращаться
Jdbc Time — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Time(columnIndex, timeZone)
For documentation of this method, see java.sql.ResultSet#getTime(int, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve (the first column is 1, the second is 2, and so on). |
time Zone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
Возвращаться
Jdbc Time — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Time(columnLabel)
For documentation of this method, see java.sql.ResultSet#getTime(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
Возвращаться
Jdbc Time — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Time(columnLabel, timeZone)
For documentation of this method, see java.sql.ResultSet#getTime(String, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
time Zone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
Возвращаться
Jdbc Time — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Timestamp(columnIndex)
For documentation of this method, see java.sql.ResultSet#getTimestamp(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve (the first column is 1, the second is 2, and so on). |
Возвращаться
Jdbc Timestamp — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Timestamp(columnIndex, timeZone)
For documentation of this method, see java.sql.ResultSet#getTimestamp(int, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve (the first column is 1, the second is 2, and so on). |
time Zone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
Возвращаться
Jdbc Timestamp — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Timestamp(columnLabel)
For documentation of this method, see java.sql.ResultSet#getTimestamp(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
Возвращаться
Jdbc Timestamp — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Timestamp(columnLabel, timeZone)
For documentation of this method, see java.sql.ResultSet#getTimestamp(String, Calendar) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
time Zone | String | A time zone string used to construct java.lang.Calendar instance, which in turn is used to build the date. Several formats of time zone strings are recognized: short IDs (such as PST , EST , and GMT ), long IDs (such as US/Pacific and America/Los_Angeles ), and offsets (such as GMT+6:30 ). |
Возвращаться
Jdbc Timestamp — The column value; null if the value was SQL NULL .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Type()
For documentation of this method, see java.sql.ResultSet#getType() .
Возвращаться
Integer — The type of this result set, which is one of Jdbc.ResultSet.TYPE_FORWARD_ONLY , Jdbc.ResultSet.TYPE_SCROLL_INSENSITIVE , or Jdbc.ResultSet.TYPE_SCROLL_INSENSITIVE .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get URL(columnIndex)
For documentation of this method, see java.sql.ResultSet#getURL(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to retrieve the data from (the first column is 1, the second is 2, and so on). |
Возвращаться
String — The URL value of the designated column in the current row of this result set.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get URL(columnLabel)
For documentation of this method, see java.sql.ResultSet#getURL(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
Возвращаться
String — The URL value of the designated column in the current row of this result set.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
get Warnings()
Returns the current set of warnings reported by the driver.
Возвращаться
String[] — The current set of warnings.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
insert Row()
For documentation of this method, see java.sql.ResultSet#insertRow() .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
is After Last()
For documentation of this method, see java.sql.ResultSet#isAfterLast() .
Возвращаться
Boolean — true if the cursor is after the last row; false if it is in any other position or if the result set contains no rows.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
is Before First()
For documentation of this method, see java.sql.ResultSet#isBeforeFirst() .
Возвращаться
Boolean — true if the cursor is before the first row; false if it is in any other position or if the result set contains no rows.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
is Closed()
For documentation of this method, see java.sql.ResultSet#isClosed() .
Возвращаться
Boolean — true if this result set is closed; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
is First()
For documentation of this method, see java.sql.ResultSet#isFirst() .
Возвращаться
Boolean — true if the cursor is on the first row; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
is Last()
For documentation of this method, see java.sql.ResultSet#isLast() .
Возвращаться
Boolean — true if the cursor is on the last row; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
last()
For documentation of this method, see java.sql.ResultSet#first() .
Возвращаться
Boolean — true if the cursor is on a valid row; false if there are no rows in the result set.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
move To Current Row()
For documentation of this method, see java.sql.ResultSet#moveToCurrentRow() .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
move To Insert Row()
For documentation of this method, see java.sql.ResultSet#moveToInsertRow() .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
next()
For documentation of this method, see java.sql.ResultSet#next() .
Возвращаться
Boolean — true if the new current row is valid; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
previous()
For documentation of this method, see java.sql.ResultSet#previous() .
Возвращаться
Boolean — true if the cursor is on a valid row; false if the cursor is positioned before the first row.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
refresh Row()
For documentation of this method, see java.sql.ResultSet#refreshRow() .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
relative(rows)
For documentation of this method, see java.sql.ResultSet#relative(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
rows | Integer | The number row steps to move the cursor. A positive number moves the cursor forward, while a negative number moves the cursor backward. |
Возвращаться
Boolean — true if the cursor is on a row; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
row Deleted()
For documentation of this method, see java.sql.ResultSet#rowDeleted() .
Возвращаться
Boolean — true if the current row was visibly deleted; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
row Inserted()
For documentation of this method, see java.sql.ResultSet#rowInserted() .
Возвращаться
Boolean — true if the current row was visibly inserted; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
row Updated()
For documentation of this method, see java.sql.ResultSet#rowUpdated() .
Возвращаться
Boolean — true if the current row was visibly updated; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
set Fetch Direction(direction)
For documentation of this method, see java.sql.ResultSet#setFetchDirection(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
direction | Integer | The specified direction to set, which is either Jdbc.ResultSet.FETCH_FORWARD or Jdbc.ResultSet.FETCH_REVERSE . |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
set Fetch Size(rows)
For documentation of this method, see java.sql.ResultSet#setFetchSize(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
rows | Integer | The number of rows to fetch. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Array(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateArray(int, Array) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Array | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Array(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateArray(String, Array) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Array | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Big Decimal(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateBigDecimal(int, BigDecimal) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Big Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Big Decimal(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateBigDecimal(String, BigDecimal) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Big Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Blob(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateBlob(int, Blob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Blob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Blob(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateRef(String, Blob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Blob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Boolean(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateBoolean(int, boolean) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Boolean | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Boolean(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateBoolean(String, boolean) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Boolean | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Byte(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateByte(int, byte) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Byte | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Byte(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateByte(String, byte) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Byte | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Bytes(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateBytes(int, byte[]) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Byte[] | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Bytes(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateBytes(String, byte[]) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Byte[] | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Clob(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateClob(int, Clob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Clob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Clob(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateClob(String, Clob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Clob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Date(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateDate(int, Date) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Date | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Date(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateDate(String, Date) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Date | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Double(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateDouble(int, double) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Double(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateDouble(String, double) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Float(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateFloat(int, float) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Float(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateFloat(String, float) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Number | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Int(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateInt(int, int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Int(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateInt(String, int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Long(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateLong(int, long) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Long(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateLong(String, long) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update NClob(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateNClob(int, NClob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Clob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update NClob(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateNClob(String, NClob) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Clob | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update NString(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateNString(int, String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | String | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update NString(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateNString(String, String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | String | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Null(columnIndex)
For documentation of this method, see java.sql.ResultSet#updateNull(int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Null(columnLabel)
For documentation of this method, see java.sql.ResultSet#updateNull(String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Object(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateObject(int, Object) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Object | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Object(columnIndex, x, scaleOrLength)
For documentation of this method, see java.sql.ResultSet#updateObject(int, Object, int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Object | The new column value. |
scale Or Length | Integer | The number of digits after the decimal for Big Decimal types, or the length of data for Input Stream or Reader types. Ignored for all other types. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Object(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateObject(String, Object) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Object | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Object(columnLabel, x, scaleOrLength)
For documentation of this method, see java.sql.ResultSet#updateObject(String, Object, int) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Object | The new column value. |
scale Or Length | Integer | The number of digits after the decimal for Big Decimal types, or the length of data for Input Stream or Reader types. Ignored for all other types. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Ref(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateRef(int, Ref) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Ref | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Ref(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateRef(String, Ref) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Ref | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Row()
For documentation of this method, see java.sql.ResultSet#updateRow() .
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Row Id(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateRowId(int, RowId) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Row Id | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Row Id(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateRowId(String, RowId) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Row Id | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update SQLXML(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateSQLXML(int, SQLXML) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc SQLXML | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update SQLXML(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateSQLXML(String, SQLXML) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc SQLXML | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Short(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateShort(int, short) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Short(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateShort(String, short) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Integer | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update String(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateString(int, String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | String | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update String(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateString(String, String) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | String | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Time(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateTime(int, Time) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Time | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Time(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateTime(String, Time) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Time | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Timestamp(columnIndex, x)
For documentation of this method, see java.sql.ResultSet#updateTimestamp(int, Timestamp) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Index | Integer | The index of the column to update (the first column is 1, the second is 2, and so on). |
x | Jdbc Timestamp | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
update Timestamp(columnLabel, x)
For documentation of this method, see java.sql.ResultSet#updateTimestamp(String, Timestamp) .
Параметры
| Имя | Тип | Описание |
|---|---|---|
column Label | String | The label for the column, specified with the SQL AS clause. If the AS clause wasn't specified, then the label is the name of the column. |
x | Jdbc Timestamp | The new column value. |
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request
was Null()
For documentation of this method, see java.sql.ResultSet#wasNull() .
Возвращаться
Boolean — true if the last column read was SQL NULL ; false otherwise.
Авторизация
Scripts that use this method require authorization with one or more of the following scopes :
-
https://www.googleapis.com/auth/script.external_request