Class JdbcResultSet

Набор результатов JDBC

Класс JDBC Result Set . Документацию по этому классу см. в разделе java.sql.ResultSet .

Методы

Метод Тип возвращаемого значения Краткое описание
absolute(row) Boolean Для получения документации по этому методу см. java.sql.ResultSet#absolute(int) .
after Last() void Для получения документации по этому методу см. java.sql.ResultSet#afterLast() .
before First() void Для получения документации по этому методу см. java.sql.ResultSet#beforeFirst() .
cancel Row Updates() void Для получения документации по этому методу см. java.sql.ResultSet#cancelRowUpdates() .
clear Warnings() void Для получения документации по этому методу см. java.sql.ResultSet#clearWarnings() .
close() void Для получения документации по этому методу см. java.sql.ResultSet#close() .
delete Row() void Для получения документации по этому методу см. java.sql.ResultSet#deleteRow() .
find Column(columnLabel) Integer Для получения документации по этому методу см. java.sql.ResultSet#findColumn(String) .
first() Boolean Для получения документации по этому методу см. java.sql.ResultSet#first() .
get Array(columnIndex) Jdbc Array Для получения документации по этому методу см. java.sql.ResultSet#getArray(int) .
get Array(columnLabel) Jdbc Array Для получения документации по этому методу см. java.sql.ResultSet#getArray(String) .
get Big Decimal(columnIndex) Big Number Для получения документации по этому методу см. java.sql.ResultSet#getBigDecimal(int) .
get Big Decimal(columnLabel) Big Number Для получения документации по этому методу см. java.sql.ResultSet#getBigDecimal(String) .
get Blob(columnIndex) Jdbc Blob Для получения документации по этому методу см. java.sql.ResultSet#getBlob(int) .
get Blob(columnLabel) Jdbc Blob Для получения документации по этому методу см. java.sql.ResultSet#getBlob(String) .
get Boolean(columnIndex) Boolean Для получения документации по этому методу см. java.sql.ResultSet#getBoolean(int) .
get Boolean(columnLabel) Boolean Для получения документации по этому методу см. java.sql.ResultSet#getBoolean(String) .
get Byte(columnIndex) Byte Для получения документации по этому методу см. java.sql.ResultSet#getByte(int) .
get Byte(columnLabel) Byte Для получения документации по этому методу см. java.sql.ResultSet#getByte(String) .
get Bytes(columnIndex) Byte[] Для получения документации по этому методу см. java.sql.ResultSet#getBytes(int) .
get Bytes(columnLabel) Byte[] Для получения документации по этому методу см. java.sql.ResultSet#getBytes(String) .
get Clob(columnIndex) Jdbc Clob Для получения документации по этому методу см. java.sql.ResultSet#getClob(int) .
get Clob(columnLabel) Jdbc Clob Для получения документации по этому методу см. java.sql.ResultSet#getClob(String) .
get Concurrency() Integer Для получения документации по этому методу см. java.sql.ResultSet#getConcurrency() .
get Cursor Name() String Для получения документации по этому методу см. java.sql.ResultSet#getCursorName() .
get Date(columnIndex) Jdbc Date Для получения документации по этому методу см. java.sql.ResultSet#getDate(int) .
get Date(columnIndex, timeZone) Jdbc Date Для получения документации по этому методу см. java.sql.ResultSet#getDate(int, Calendar) .
get Date(columnLabel) Jdbc Date Для получения документации по этому методу см. java.sql.ResultSet#getDate(String) .
get Date(columnLabel, timeZone) Jdbc Date Для получения документации по этому методу см. java.sql.ResultSet#getDate(String, Calendar) .
get Double(columnIndex) Number Для получения документации по этому методу см. java.sql.ResultSet#getDouble(int) .
get Double(columnLabel) Number Для получения документации по этому методу см. java.sql.ResultSet#getDouble(String) .
get Fetch Direction() Integer Для получения документации по этому методу см. java.sql.ResultSet#getFetchDirection() .
get Fetch Size() Integer Для получения документации по этому методу см. java.sql.ResultSet#getFetchSize() .
get Float(columnIndex) Number Для получения документации по этому методу см. java.sql.ResultSet#getFloat(int) .
get Float(columnLabel) Number Для получения документации по этому методу см. java.sql.ResultSet#getFloat(String) .
get Holdability() Integer Для получения документации по этому методу см. java.sql.ResultSet#getHoldability() .
get Int(columnIndex) Integer Для получения документации по этому методу см. java.sql.ResultSet#getInt(int) .
get Int(columnLabel) Integer Для получения документации по этому методу см. java.sql.ResultSet#getInt(String) .
get Long(columnIndex) Integer Для получения документации по этому методу см. java.sql.ResultSet#getLong(int) .
get Long(columnLabel) Integer Для получения документации по этому методу см. java.sql.ResultSet#getLong(String) .
get Meta Data() Jdbc Result Set Meta Data Для получения документации по этому методу см. java.sql.ResultSet#getMetaData() .
get NClob(columnIndex) Jdbc Clob Для получения документации по этому методу см. java.sql.ResultSet#getNClob(int) .
get NClob(columnLabel) Jdbc Clob Для получения документации по этому методу см. java.sql.ResultSet#getNClob(String) .
get NString(columnIndex) String Для получения документации по этому методу см. java.sql.ResultSet#getNString(int) .
get NString(columnLabel) String Для получения документации по этому методу см. java.sql.ResultSet#getNString(String) .
get Object(columnIndex) Object Для получения документации по этому методу см. java.sql.ResultSet#getObject(int) .
get Object(columnLabel) Object Для получения документации по этому методу см. java.sql.ResultSet#getObject(String) .
get Ref(columnIndex) Jdbc Ref Для получения документации по этому методу см. java.sql.ResultSet#getRef(int) .
get Ref(columnLabel) Jdbc Ref Для получения документации по этому методу см. java.sql.ResultSet#getRef(String) .
get Row() Integer Для получения документации по этому методу см. java.sql.ResultSet#getRow() .
get Row Id(columnIndex) Jdbc Row Id Для получения документации по этому методу см. java.sql.ResultSet#getRowId(int) .
get Row Id(columnLabel) Jdbc Row Id Для получения документации по этому методу см. java.sql.ResultSet#getRowId(String) .
get Rows(queryString) Object[][] Возвращает все строки из данного объекта Result Set .
get Rows(queryString, batchSize) Object[][] Возвращает количество строк, не превышающее batch Size из объекта Result Set .
get SQLXML(columnIndex) Jdbc SQLXML Для получения документации по этому методу см. java.sql.ResultSet#getSQLXML(int) .
get SQLXML(columnLabel) Jdbc SQLXML Для получения документации по этому методу см. java.sql.ResultSet#getSQLXML(String) .
get Short(columnIndex) Integer Для получения документации по этому методу см. java.sql.ResultSet#getShort(int) .
get Short(columnLabel) Integer Для получения документации по этому методу см. java.sql.ResultSet#getShort(String) .
get Statement() Jdbc Statement Для получения документации по этому методу см. java.sql.ResultSet#getStatement() .
get String(columnIndex) String Для получения документации по этому методу см. java.sql.ResultSet#getString(int) .
get String(columnLabel) String Для получения документации по этому методу см. java.sql.ResultSet#getString(String) .
get Time(columnIndex) Jdbc Time Для получения документации по этому методу см. java.sql.ResultSet#getTime(int) .
get Time(columnIndex, timeZone) Jdbc Time Для получения документации по этому методу см. java.sql.ResultSet#getTime(int, Calendar) .
get Time(columnLabel) Jdbc Time Для получения документации по этому методу см. java.sql.ResultSet#getTime(String) .
get Time(columnLabel, timeZone) Jdbc Time Для получения документации по этому методу см. java.sql.ResultSet#getTime(String, Calendar) .
get Timestamp(columnIndex) Jdbc Timestamp Для получения документации по этому методу см. java.sql.ResultSet#getTimestamp(int) .
get Timestamp(columnIndex, timeZone) Jdbc Timestamp Для получения документации по этому методу см. java.sql.ResultSet#getTimestamp(int, Calendar) .
get Timestamp(columnLabel) Jdbc Timestamp Для получения документации по этому методу см. java.sql.ResultSet#getTimestamp(String) .
get Timestamp(columnLabel, timeZone) Jdbc Timestamp Для получения документации по этому методу см. java.sql.ResultSet#getTimestamp(String, Calendar) .
get Type() Integer Для получения документации по этому методу см. java.sql.ResultSet#getType() .
get URL(columnIndex) String Для получения документации по этому методу см. java.sql.ResultSet#getURL(int) .
get URL(columnLabel) String Для получения документации по этому методу см. java.sql.ResultSet#getURL(String) .
get Warnings() String[] Возвращает текущий набор предупреждений, сообщенных водителем.
insert Row() void Для получения документации по этому методу см. java.sql.ResultSet#insertRow() .
is After Last() Boolean Для получения документации по этому методу см. java.sql.ResultSet#isAfterLast() .
is Before First() Boolean Для получения документации по этому методу см. java.sql.ResultSet#isBeforeFirst() .
is Closed() Boolean Для получения документации по этому методу см. java.sql.ResultSet#isClosed() .
is First() Boolean Для получения документации по этому методу см. java.sql.ResultSet#isFirst() .
is Last() Boolean Для получения документации по этому методу см. java.sql.ResultSet#isLast() .
last() Boolean Для получения документации по этому методу см. java.sql.ResultSet#first() .
move To Current Row() void Для получения документации по этому методу см. java.sql.ResultSet#moveToCurrentRow() .
move To Insert Row() void Для получения документации по этому методу см. java.sql.ResultSet#moveToInsertRow() .
next() Boolean Для получения документации по этому методу см. java.sql.ResultSet#next() .
previous() Boolean Для получения документации по этому методу см. java.sql.ResultSet#previous() .
refresh Row() void Для получения документации по этому методу см. java.sql.ResultSet#refreshRow() .
relative(rows) Boolean Для получения документации по этому методу см. java.sql.ResultSet#relative(int) .
row Deleted() Boolean Для получения документации по этому методу см. java.sql.ResultSet#rowDeleted() .
row Inserted() Boolean Для получения документации по этому методу см. java.sql.ResultSet#rowInserted() .
row Updated() Boolean Для получения документации по этому методу см. java.sql.ResultSet#rowUpdated() .
set Fetch Direction(direction) void Для получения документации по этому методу см. java.sql.ResultSet#setFetchDirection(int) .
set Fetch Size(rows) void Для получения документации по этому методу см. java.sql.ResultSet#setFetchSize(int) .
update Array(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateArray(int, Array) .
update Array(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateArray(String, Array) .
update Big Decimal(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBigDecimal(int, BigDecimal) .
update Big Decimal(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBigDecimal(String, BigDecimal) .
update Blob(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBlob(int, Blob) .
update Blob(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateRef(String, Blob) .
update Boolean(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBoolean(int, boolean) .
update Boolean(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBoolean(String, boolean) .
update Byte(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateByte(int, byte) .
update Byte(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateByte(String, byte) .
update Bytes(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBytes(int, byte[]) .
update Bytes(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateBytes(String, byte[]) .
update Clob(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateClob(int, Clob) .
update Clob(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateClob(String, Clob) .
update Date(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateDate(int, Date) .
update Date(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateDate(String, Date) .
update Double(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateDouble(int, double) .
update Double(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateDouble(String, double) .
update Float(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateFloat(int, float) .
update Float(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateFloat(String, float) .
update Int(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateInt(int, int) .
update Int(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateInt(String, int) .
update Long(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateLong(int, long) .
update Long(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateLong(String, long) .
update NClob(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateNClob(int, NClob) .
update NClob(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateNClob(String, NClob) .
update NString(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateNString(int, String) .
update NString(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateNString(String, String) .
update Null(columnIndex) void Для получения документации по этому методу см. java.sql.ResultSet#updateNull(int) .
update Null(columnLabel) void Для получения документации по этому методу см. java.sql.ResultSet#updateNull(String) .
update Object(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateObject(int, Object) .
update Object(columnIndex, x, scaleOrLength) void Для получения документации по этому методу см. java.sql.ResultSet#updateObject(int, Object, int) .
update Object(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateObject(String, Object) .
update Object(columnLabel, x, scaleOrLength) void Для получения документации по этому методу см. java.sql.ResultSet#updateObject(String, Object, int) .
update Ref(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateRef(int, Ref) .
update Ref(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateRef(String, Ref) .
update Row() void Для получения документации по этому методу см. java.sql.ResultSet#updateRow() .
update Row Id(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateRowId(int, RowId) .
update Row Id(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateRowId(String, RowId) .
update SQLXML(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateSQLXML(int, SQLXML) .
update SQLXML(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateSQLXML(String, SQLXML) .
update Short(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateShort(int, short) .
update Short(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateShort(String, short) .
update String(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateString(int, String) .
update String(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateString(String, String) .
update Time(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateTime(int, Time) .
update Time(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateTime(String, Time) .
update Timestamp(columnIndex, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateTimestamp(int, Timestamp) .
update Timestamp(columnLabel, x) void Для получения документации по этому методу см. java.sql.ResultSet#updateTimestamp(String, Timestamp) .
was Null() Boolean Для получения документации по этому методу см. java.sql.ResultSet#wasNull() .

Подробная документация

absolute(row)

Для получения документации по этому методу см. java.sql.ResultSet#absolute(int) .

Параметры

Имя Тип Описание
row Integer Номер строки, на которую перемещается курсор. Положительное число указывает номер строки, начиная с начала результирующего набора, а отрицательное число — с конца результирующего набора.

Возвращаться

Booleantrue , если курсор перемещен в определенную позицию в этом наборе результатов; 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() .

Возвращаться

Booleantrue если курсор находится на допустимой строке; 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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.

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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() .

Возвращаться

Booleantrue 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