Class JdbcResultSet

JdbcResultSet

JDBC ResultSet . Документацию по этому классу см. в java.sql.ResultSet .

Методы

Метод Тип возврата Краткое описание
absolute(row) Boolean Документацию по этому методу см. в java.sql.ResultSet#absolute(int) .
afterLast() void Документацию по этому методу см. в java.sql.ResultSet#afterLast() .
beforeFirst() void Документацию по этому методу см. в java.sql.ResultSet#beforeFirst() .
cancelRowUpdates() void Документацию по этому методу см. в java.sql.ResultSet#cancelRowUpdates() .
clearWarnings() void Документацию по этому методу см. в java.sql.ResultSet#clearWarnings() .
close() void Документацию по этому методу см. в java.sql.ResultSet#close() .
deleteRow() void Документацию по этому методу см. в java.sql.ResultSet#deleteRow() .
findColumn(columnLabel) Integer Документацию по этому методу см. в java.sql.ResultSet#findColumn(String) .
first() Boolean Документацию по этому методу см. в java.sql.ResultSet#first() .
getArray(columnIndex) JdbcArray Документацию по этому методу см. в java.sql.ResultSet#getArray(int) .
getArray(columnLabel) JdbcArray Документацию по этому методу см. в java.sql.ResultSet#getArray(String) .
getBigDecimal(columnIndex) BigNumber Документацию по этому методу см. в java.sql.ResultSet#getBigDecimal(int) .
getBigDecimal(columnLabel) BigNumber Документацию по этому методу см. в java.sql.ResultSet#getBigDecimal(String) .
getBlob(columnIndex) JdbcBlob Документацию по этому методу см. в java.sql.ResultSet#getBlob(int) .
getBlob(columnLabel) JdbcBlob Документацию по этому методу см. в java.sql.ResultSet#getBlob(String) .
getBoolean(columnIndex) Boolean Документацию по этому методу см. в java.sql.ResultSet#getBoolean(int) .
getBoolean(columnLabel) Boolean Документацию по этому методу см. в java.sql.ResultSet#getBoolean(String) .
getByte(columnIndex) Byte Документацию по этому методу см. в java.sql.ResultSet#getByte(int) .
getByte(columnLabel) Byte Документацию по этому методу см. в java.sql.ResultSet#getByte(String) .
getBytes(columnIndex) Byte[] Документацию по этому методу см. в java.sql.ResultSet#getBytes(int) .
getBytes(columnLabel) Byte[] Документацию по этому методу см. в java.sql.ResultSet#getBytes(String) .
getClob(columnIndex) JdbcClob Документацию по этому методу см. в java.sql.ResultSet#getClob(int) .
getClob(columnLabel) JdbcClob Документацию по этому методу см. в java.sql.ResultSet#getClob(String) .
getConcurrency() Integer Документацию по этому методу см. в java.sql.ResultSet#getConcurrency() .
getCursorName() String Документацию по этому методу см. в java.sql.ResultSet#getCursorName() .
getDate(columnIndex) JdbcDate Документацию по этому методу см. в java.sql.ResultSet#getDate(int) .
getDate(columnIndex, timeZone) JdbcDate Документацию по этому методу см. в java.sql.ResultSet#getDate(int, Calendar) .
getDate(columnLabel) JdbcDate Документацию по этому методу см. в java.sql.ResultSet#getDate(String) .
getDate(columnLabel, timeZone) JdbcDate Документацию по этому методу см. в java.sql.ResultSet#getDate(String, Calendar) .
getDouble(columnIndex) Number Документацию по этому методу см. в java.sql.ResultSet#getDouble(int) .
getDouble(columnLabel) Number Документацию по этому методу см. в java.sql.ResultSet#getDouble(String) .
getFetchDirection() Integer Документацию по этому методу см. в java.sql.ResultSet#getFetchDirection() .
getFetchSize() Integer Документацию по этому методу см. в java.sql.ResultSet#getFetchSize() .
getFloat(columnIndex) Number Документацию по этому методу см. в java.sql.ResultSet#getFloat(int) .
getFloat(columnLabel) Number Документацию по этому методу см. в java.sql.ResultSet#getFloat(String) .
getHoldability() Integer Документацию по этому методу см. в java.sql.ResultSet#getHoldability() .
getInt(columnIndex) Integer Документацию по этому методу см. в java.sql.ResultSet#getInt(int) .
getInt(columnLabel) Integer Документацию по этому методу см. в java.sql.ResultSet#getInt(String) .
getLong(columnIndex) Integer Документацию по этому методу см. в java.sql.ResultSet#getLong(int) .
getLong(columnLabel) Integer Документацию по этому методу см. в java.sql.ResultSet#getLong(String) .
getMetaData() JdbcResultSetMetaData Документацию по этому методу см. в java.sql.ResultSet#getMetaData() .
getNClob(columnIndex) JdbcClob Документацию по этому методу см. в java.sql.ResultSet#getNClob(int) .
getNClob(columnLabel) JdbcClob Документацию по этому методу см. в java.sql.ResultSet#getNClob(String) .
getNString(columnIndex) String Документацию по этому методу см. в java.sql.ResultSet#getNString(int) .
getNString(columnLabel) String Документацию по этому методу см. в java.sql.ResultSet#getNString(String) .
getObject(columnIndex) Object Документацию по этому методу см. в java.sql.ResultSet#getObject(int) .
getObject(columnLabel) Object Документацию по этому методу см. в java.sql.ResultSet#getObject(String) .
getRef(columnIndex) JdbcRef Документацию по этому методу см. в java.sql.ResultSet#getRef(int) .
getRef(columnLabel) JdbcRef Документацию по этому методу см. в java.sql.ResultSet#getRef(String) .
getRow() Integer Документацию по этому методу см. в java.sql.ResultSet#getRow() .
getRowId(columnIndex) JdbcRowId Документацию по этому методу см. в java.sql.ResultSet#getRowId(int) .
getRowId(columnLabel) JdbcRowId Документацию по этому методу см. в java.sql.ResultSet#getRowId(String) .
getRows(queryString) Object[][] Возвращает все строки из этого объекта ResultSet .
getRows(queryString, batchSize) Object[][] Возвращает до batchSize строк из этого объекта ResultSet .
getSQLXML(columnIndex) JdbcSQLXML Документацию по этому методу см. в java.sql.ResultSet#getSQLXML(int) .
getSQLXML(columnLabel) JdbcSQLXML Документацию по этому методу см. в java.sql.ResultSet#getSQLXML(String) .
getShort(columnIndex) Integer Документацию по этому методу см. в java.sql.ResultSet#getShort(int) .
getShort(columnLabel) Integer Документацию по этому методу см. в java.sql.ResultSet#getShort(String) .
getStatement() JdbcStatement Документацию по этому методу см. в java.sql.ResultSet#getStatement() .
getString(columnIndex) String Документацию по этому методу см. в java.sql.ResultSet#getString(int) .
getString(columnLabel) String Документацию по этому методу см. в java.sql.ResultSet#getString(String) .
getTime(columnIndex) JdbcTime Документацию по этому методу см. в java.sql.ResultSet#getTime(int) .
getTime(columnIndex, timeZone) JdbcTime Документацию по этому методу см. в java.sql.ResultSet#getTime(int, Calendar) .
getTime(columnLabel) JdbcTime Документацию по этому методу см. в java.sql.ResultSet#getTime(String) .
getTime(columnLabel, timeZone) JdbcTime Документацию по этому методу см. в java.sql.ResultSet#getTime(String, Calendar) .
getTimestamp(columnIndex) JdbcTimestamp Документацию по этому методу см. в java.sql.ResultSet#getTimestamp(int) .
getTimestamp(columnIndex, timeZone) JdbcTimestamp Документацию по этому методу см. в java.sql.ResultSet#getTimestamp(int, Calendar) .
getTimestamp(columnLabel) JdbcTimestamp Документацию по этому методу см. в java.sql.ResultSet#getTimestamp(String) .
getTimestamp(columnLabel, timeZone) JdbcTimestamp Документацию по этому методу см. в java.sql.ResultSet#getTimestamp(String, Calendar) .
getType() Integer Документацию по этому методу см. в java.sql.ResultSet#getType() .
getURL(columnIndex) String Документацию по этому методу см. в java.sql.ResultSet#getURL(int) .
getURL(columnLabel) String Документацию по этому методу см. в java.sql.ResultSet#getURL(String) .
getWarnings() String[] Возвращает текущий набор предупреждений, сообщенных водителем.
insertRow() void Документацию по этому методу см. в java.sql.ResultSet#insertRow() .
isAfterLast() Boolean Документацию по этому методу см. в java.sql.ResultSet#isAfterLast() .
isBeforeFirst() Boolean Документацию по этому методу см. в java.sql.ResultSet#isBeforeFirst() .
isClosed() Boolean Документацию по этому методу см. в java.sql.ResultSet#isClosed() .
isFirst() Boolean Документацию по этому методу см. в java.sql.ResultSet#isFirst() .
isLast() Boolean Документацию по этому методу см. в java.sql.ResultSet#isLast() .
last() Boolean Документацию по этому методу см. в java.sql.ResultSet#first() .
moveToCurrentRow() void Документацию по этому методу см. в java.sql.ResultSet#moveToCurrentRow() .
moveToInsertRow() void Документацию по этому методу см. в java.sql.ResultSet#moveToInsertRow() .
next() Boolean Документацию по этому методу см. в java.sql.ResultSet#next() .
previous() Boolean Документацию по этому методу см. в java.sql.ResultSet#previous() .
refreshRow() void Документацию по этому методу см. в java.sql.ResultSet#refreshRow() .
relative(rows) Boolean Документацию по этому методу см. в java.sql.ResultSet#relative(int) .
rowDeleted() Boolean Документацию по этому методу см. в java.sql.ResultSet#rowDeleted() .
rowInserted() Boolean Документацию по этому методу см. в java.sql.ResultSet#rowInserted() .
rowUpdated() Boolean Документацию по этому методу см. в java.sql.ResultSet#rowUpdated() .
setFetchDirection(direction) void Документацию по этому методу см. в java.sql.ResultSet#setFetchDirection(int) .
setFetchSize(rows) void Документацию по этому методу см. в java.sql.ResultSet#setFetchSize(int) .
updateArray(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateArray(int, Array) .
updateArray(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateArray(String, Array) .
updateBigDecimal(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBigDecimal(int, BigDecimal) .
updateBigDecimal(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBigDecimal(String, BigDecimal) .
updateBlob(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBlob(int, Blob) .
updateBlob(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateRef(String, Blob) .
updateBoolean(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBoolean(int, boolean) .
updateBoolean(columnLabel, x) void Документацию по этому методу см. java.sql.ResultSet#updateBoolean(String, boolean) .
updateByte(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateByte(int, byte) .
updateByte(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateByte(String, byte) .
updateBytes(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBytes(int, byte[]) .
updateBytes(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateBytes(String, byte[]) .
updateClob(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateClob(int, Clob) .
updateClob(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateClob(String, Clob) .
updateDate(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateDate(int, Date) .
updateDate(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateDate(String, Date) .
updateDouble(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateDouble(int, double) .
updateDouble(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateDouble(String, double) .
updateFloat(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateFloat(int, float) .
updateFloat(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateFloat(String, float) .
updateInt(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateInt(int, int) .
updateInt(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateInt(String, int) .
updateLong(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateLong(int, long) .
updateLong(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateLong(String, long) .
updateNClob(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateNClob(int, NClob) .
updateNClob(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateNClob(String, NClob) .
updateNString(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateNString(int, String) .
updateNString(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateNString(String, String) .
updateNull(columnIndex) void Документацию по этому методу см. в java.sql.ResultSet#updateNull(int) .
updateNull(columnLabel) void Документацию по этому методу см. в java.sql.ResultSet#updateNull(String) .
updateObject(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateObject(int, Object) .
updateObject(columnIndex, x, scaleOrLength) void Документацию по этому методу см. в java.sql.ResultSet#updateObject(int, Object, int) .
updateObject(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateObject(String, Object) .
updateObject(columnLabel, x, scaleOrLength) void Документацию по этому методу см. в java.sql.ResultSet#updateObject(String, Object, int) .
updateRef(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateRef(int, Ref) .
updateRef(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateRef(String, Ref) .
updateRow() void Документацию по этому методу см. в java.sql.ResultSet#updateRow() .
updateRowId(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateRowId(int, RowId) .
updateRowId(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateRowId(String, RowId) .
updateSQLXML(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateSQLXML(int, SQLXML) .
updateSQLXML(columnLabel, x) void Документацию по этому методу см. java.sql.ResultSet#updateSQLXML(String, SQLXML) .
updateShort(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateShort(int, short) .
updateShort(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateShort(String, short) .
updateString(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateString(int, String) .
updateString(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateString(String, String) .
updateTime(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateTime(int, Time) .
updateTime(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateTime(String, Time) .
updateTimestamp(columnIndex, x) void Документацию по этому методу см. в java.sql.ResultSet#updateTimestamp(int, Timestamp) .
updateTimestamp(columnLabel, x) void Документацию по этому методу см. в java.sql.ResultSet#updateTimestamp(String, Timestamp) .
wasNull() Boolean Документацию по этому методу см. в java.sql.ResultSet#wasNull() .

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

absolute(row)

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

Параметры

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

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

Booleantrue , если курсор перемещен на позицию в этом наборе результатов; false если курсор находится перед первой строкой или после последней строки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

afterLast()

Документацию по этому методу см. в java.sql.ResultSet#afterLast() .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

beforeFirst()

Документацию по этому методу см. в java.sql.ResultSet#beforeFirst() .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

cancelRowUpdates()

Документацию по этому методу см. в java.sql.ResultSet#cancelRowUpdates() .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

clearWarnings()

Документацию по этому методу см. в java.sql.ResultSet#clearWarnings() .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

close()

Документацию по этому методу см. в java.sql.ResultSet#close() .


deleteRow()

Документацию по этому методу см. в java.sql.ResultSet#deleteRow() .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

findColumn(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#findColumn(String) .

Параметры

Имя Тип Описание
columnLabel 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

getArray(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getArray(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcArray — значение указанного столбца в текущей строке этого результирующего набора в виде массива.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getArray(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getArray(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcArray — значение указанного столбца в текущей строке этого результирующего набора в виде массива.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBigDecimal(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getBigDecimal(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

BigNumber — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBigDecimal(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getBigDecimal(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

BigNumber — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBlob(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getBlob(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcBlob — значение указанного столбца в текущей строке этого набора результатов в виде большого двоичного объекта.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBlob(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getBlob(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcBlob — значение указанного столбца в текущей строке этого набора результатов в виде большого двоичного объекта.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBoolean(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getBoolean(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Boolean — значение столбца; false если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBoolean(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getBoolean(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Boolean — значение столбца; false если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getByte(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getByte(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Byte — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getByte(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getByte(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Byte — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBytes(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getBytes(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Byte[] — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getBytes(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getBytes(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Byte[] — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getClob(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getClob(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcClob — значение указанного столбца в текущей строке этого набора результатов как clob.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getClob(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getClob(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcClob — значение указанного столбца в текущей строке этого набора результатов как clob.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getConcurrency()

Документацию по этому методу см. в java.sql.ResultSet#getConcurrency() .

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

Integer — тип параллелизма, который может быть либо Jdbc.ResultSet.CONCUR_READ_ONLY , либо Jdbc.ResultSet.CONCUR_UPDATABLE .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getCursorName()

Документацию по этому методу см. в java.sql.ResultSet#getCursorName() .

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

String — имя SQL для курсора этого набора результатов.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDate(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getDate(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

JdbcDate — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDate(columnIndex, timeZone)

Документацию по этому методу см. в java.sql.ResultSet#getDate(int, Calendar) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).
timeZone String Строка часового пояса, используемая для создания экземпляра java.lang.Calendar , который, в свою очередь, используется для формирования даты. Распознаются несколько форматов строк часового пояса: короткие идентификаторы (например, PST , EST и GMT ), длинные идентификаторы (например, US/Pacific и America/Los_Angeles ) и смещения (например, GMT+6:30 ).

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

JdbcDate — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDate(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getDate(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcDate — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDate(columnLabel, timeZone)

Документацию по этому методу см. в java.sql.ResultSet#getDate(String, Calendar) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.
timeZone String Строка часового пояса, используемая для создания экземпляра java.lang.Calendar , который, в свою очередь, используется для формирования даты. Распознаются несколько форматов строк часового пояса: короткие идентификаторы (например, PST , EST и GMT ), длинные идентификаторы (например, US/Pacific и America/Los_Angeles ) и смещения (например, GMT+6:30 ).

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

JdbcDate — значение столбца; null если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDouble(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getDouble(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Number — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getDouble(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getDouble(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Number — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getFetchDirection()

Документацию по этому методу см. в java.sql.ResultSet#getFetchDirection() .

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

Integer — указанное направление для установки: Jdbc.ResultSet.FETCH_FORWARD или Jdbc.ResultSet.FETCH_REVERSE .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getFetchSize()

Документацию по этому методу см. в java.sql.ResultSet#getFetchSize() .

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

Integer — текущий размер выборки для этого набора результатов.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getFloat(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getFloat(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Number — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getFloat(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getFloat(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Number — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getHoldability()

Документацию по этому методу см. в 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

getInt(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getInt(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getInt(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getInt(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getLong(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getLong(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getLong(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getLong(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getMetaData()

Документацию по этому методу см. в java.sql.ResultSet#getMetaData() .

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

JdbcResultSetMetaData — количество, типы и свойства столбцов этого набора результатов.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getNClob(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getNClob(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcClob — значение столбца текущей строки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getNClob(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getNClob(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcClob — значение столбца текущей строки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getNString(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getNString(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

String — значение столбца текущей строки; null если значение равно SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getNString(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getNString(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

String — значение столбца текущей строки; null если значение равно SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getObject(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getObject(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

Object — значение указанного столбца в текущей строке этого набора результатов.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getObject(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getObject(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Object — значение указанного столбца в текущей строке этого набора результатов.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRef(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getRef(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcRef — значение указанного столбца в текущей строке этого набора результатов в качестве ссылки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRef(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getRef(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcRef — значение указанного столбца в текущей строке этого набора результатов в качестве ссылки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRow()

Документацию по этому методу см. в java.sql.ResultSet#getRow() .

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

Integer — номер текущей строки или 0, если текущей строки нет.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRowId(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getRowId(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcRowId — значение идентификатора строки столбца; null если значение равно SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRowId(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getRowId(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcRowId — значение идентификатора строки столбца; null если значение равно SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRows(queryString)

Возвращает все строки из этого объекта ResultSet .

Строка queryString состоит из вызовов методов-получателей этого JdbcResultSet , разделённых запятыми, например: "getString(1), getDouble('price'), getDate(3, 'UTC')" . Поддерживаются следующие методы: getString , getInt , getDouble , getDate и т. д. Аргументами могут быть целочисленные индексы столбцов (начинающиеся с 1) или строковые метки столбцов в одинарных/двойных кавычках.

Использование: например, чтобы прочитать столбец 1 из набора результатов, вместо итерации с помощью next() используйте getRows , как показано в следующих примерах.

В следующем примере используется next() :

while (rs.next()) {
  Logger.log(rs.getString(1));
}

Для повышения производительности используйте getRows() следующим образом:

var rows = rs.getRows("getString(1)");
for (var i = 0; i < rows.length; i++) {
  Logger.log(rows[i][0]);
}

Примечание: для больших результатов можно использовать getRows(queryString, batchSize) для разбиения на страницы.

Параметры

Имя Тип Описание
queryString String Строка запроса SQL, используемая для генерации этого набора результатов.

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

Object[][] — Текущие строки из этого объекта ResultSet .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getRows(queryString, batchSize)

Возвращает до batchSize строк из этого объекта ResultSet . Последовательный вызов этого метода начинает итерацию с того места, где она остановилась в предыдущей итерации.

Использование:

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);

Параметры

Имя Тип Описание
queryString String Строка запроса SQL, используемая для генерации этого набора результатов.
batchSize Integer Максимальное количество строк, возвращаемых за один вызов.

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

Object[][] — Текущие строки из этого объекта ResultSet .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getSQLXML(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getSQLXML(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, из которого нужно извлечь данные (первый столбец — 1, второй — 2 и т. д.).

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

JdbcSQLXML — значение столбца текущей строки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getSQLXML(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getSQLXML(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

JdbcSQLXML — значение столбца текущей строки.

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getShort(columnIndex)

Документацию по этому методу см. в java.sql.ResultSet#getShort(int) .

Параметры

Имя Тип Описание
columnIndex Integer Индекс столбца, который требуется извлечь (первый столбец — 1, второй — 2 и т. д.).

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getShort(columnLabel)

Документацию по этому методу см. в java.sql.ResultSet#getShort(String) .

Параметры

Имя Тип Описание
columnLabel String Метка столбца, указанная с помощью предложения SQL AS. Если предложение AS не указано, метка представляет собой имя столбца.

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

Integer — значение столбца; 0, если значение было SQL NULL .

Авторизация

Скрипты, использующие этот метод, требуют авторизации в одной или нескольких из следующих областей :

  • https://www.googleapis.com/auth/script.external_request

getStatement()

For documentation of this method, see java.sql.ResultSet#getStatement() .

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

JdbcStatement — 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

getString(columnIndex)

For documentation of this method, see java.sql.ResultSet#getString(int) .

Параметры

Имя Тип Описание
columnIndex 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

getString(columnLabel)

For documentation of this method, see java.sql.ResultSet#getString(String) .

Параметры

Имя Тип Описание
columnLabel 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

getTime(columnIndex)

For documentation of this method, see java.sql.ResultSet#getTime(int) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to retrieve (the first column is 1, the second is 2, and so on).

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

JdbcTime — 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

getTime(columnIndex, timeZone)

For documentation of this method, see java.sql.ResultSet#getTime(int, Calendar) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to retrieve (the first column is 1, the second is 2, and so on).
timeZone 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 ).

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

JdbcTime — 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

getTime(columnLabel)

For documentation of this method, see java.sql.ResultSet#getTime(String) .

Параметры

Имя Тип Описание
columnLabel 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.

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

JdbcTime — 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

getTime(columnLabel, timeZone)

For documentation of this method, see java.sql.ResultSet#getTime(String, Calendar) .

Параметры

Имя Тип Описание
columnLabel 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.
timeZone 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 ).

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

JdbcTime — 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

getTimestamp(columnIndex)

For documentation of this method, see java.sql.ResultSet#getTimestamp(int) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to retrieve (the first column is 1, the second is 2, and so on).

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

JdbcTimestamp — 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

getTimestamp(columnIndex, timeZone)

For documentation of this method, see java.sql.ResultSet#getTimestamp(int, Calendar) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to retrieve (the first column is 1, the second is 2, and so on).
timeZone 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 ).

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

JdbcTimestamp — 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

getTimestamp(columnLabel)

For documentation of this method, see java.sql.ResultSet#getTimestamp(String) .

Параметры

Имя Тип Описание
columnLabel 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.

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

JdbcTimestamp — 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

getTimestamp(columnLabel, timeZone)

For documentation of this method, see java.sql.ResultSet#getTimestamp(String, Calendar) .

Параметры

Имя Тип Описание
columnLabel 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.
timeZone 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 ).

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

JdbcTimestamp — 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

getType()

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

getURL(columnIndex)

For documentation of this method, see java.sql.ResultSet#getURL(int) .

Параметры

Имя Тип Описание
columnIndex 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

getURL(columnLabel)

For documentation of this method, see java.sql.ResultSet#getURL(String) .

Параметры

Имя Тип Описание
columnLabel 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

getWarnings()

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

insertRow()

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

isAfterLast()

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

isBeforeFirst()

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

isClosed()

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

isFirst()

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

isLast()

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

moveToCurrentRow()

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

moveToInsertRow()

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

refreshRow()

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

rowDeleted()

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

rowInserted()

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

rowUpdated()

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

setFetchDirection(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

setFetchSize(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

updateArray(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateArray(int, Array) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcArray 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

updateArray(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateArray(String, Array) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcArray 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

updateBigDecimal(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateBigDecimal(int, BigDecimal) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x BigNumber 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

updateBigDecimal(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateBigDecimal(String, BigDecimal) .

Параметры

Имя Тип Описание
columnLabel 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 BigNumber 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

updateBlob(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateBlob(int, Blob) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcBlob 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

updateBlob(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateRef(String, Blob) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcBlob 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

updateBoolean(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateBoolean(int, boolean) .

Параметры

Имя Тип Описание
columnIndex 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

updateBoolean(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateBoolean(String, boolean) .

Параметры

Имя Тип Описание
columnLabel 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

updateByte(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateByte(int, byte) .

Параметры

Имя Тип Описание
columnIndex 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

updateByte(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateByte(String, byte) .

Параметры

Имя Тип Описание
columnLabel 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

updateBytes(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateBytes(int, byte[]) .

Параметры

Имя Тип Описание
columnIndex 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

updateBytes(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateBytes(String, byte[]) .

Параметры

Имя Тип Описание
columnLabel 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

updateClob(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateClob(int, Clob) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcClob 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

updateClob(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateClob(String, Clob) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcClob 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

updateDate(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateDate(int, Date) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcDate 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

updateDate(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateDate(String, Date) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcDate 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

updateDouble(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateDouble(int, double) .

Параметры

Имя Тип Описание
columnIndex 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

updateDouble(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateDouble(String, double) .

Параметры

Имя Тип Описание
columnLabel 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

updateFloat(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateFloat(int, float) .

Параметры

Имя Тип Описание
columnIndex 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

updateFloat(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateFloat(String, float) .

Параметры

Имя Тип Описание
columnLabel 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

updateInt(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateInt(int, int) .

Параметры

Имя Тип Описание
columnIndex 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

updateInt(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateInt(String, int) .

Параметры

Имя Тип Описание
columnLabel 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

updateLong(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateLong(int, long) .

Параметры

Имя Тип Описание
columnIndex 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

updateLong(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateLong(String, long) .

Параметры

Имя Тип Описание
columnLabel 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

updateNClob(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateNClob(int, NClob) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcClob 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

updateNClob(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateNClob(String, NClob) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcClob 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

updateNString(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateNString(int, String) .

Параметры

Имя Тип Описание
columnIndex 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

updateNString(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateNString(String, String) .

Параметры

Имя Тип Описание
columnLabel 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

updateNull(columnIndex)

For documentation of this method, see java.sql.ResultSet#updateNull(int) .

Параметры

Имя Тип Описание
columnIndex 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

updateNull(columnLabel)

For documentation of this method, see java.sql.ResultSet#updateNull(String) .

Параметры

Имя Тип Описание
columnLabel 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

updateObject(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateObject(int, Object) .

Параметры

Имя Тип Описание
columnIndex 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

updateObject(columnIndex, x, scaleOrLength)

For documentation of this method, see java.sql.ResultSet#updateObject(int, Object, int) .

Параметры

Имя Тип Описание
columnIndex 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.
scaleOrLength Integer The number of digits after the decimal for BigDecimal types, or the length of data for InputStream 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

updateObject(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateObject(String, Object) .

Параметры

Имя Тип Описание
columnLabel 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

updateObject(columnLabel, x, scaleOrLength)

For documentation of this method, see java.sql.ResultSet#updateObject(String, Object, int) .

Параметры

Имя Тип Описание
columnLabel 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.
scaleOrLength Integer The number of digits after the decimal for BigDecimal types, or the length of data for InputStream 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

updateRef(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateRef(int, Ref) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcRef 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

updateRef(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateRef(String, Ref) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcRef 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

updateRow()

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

updateRowId(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateRowId(int, RowId) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcRowId 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

updateRowId(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateRowId(String, RowId) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcRowId 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

updateSQLXML(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateSQLXML(int, SQLXML) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcSQLXML 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

updateSQLXML(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateSQLXML(String, SQLXML) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcSQLXML 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

updateShort(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateShort(int, short) .

Параметры

Имя Тип Описание
columnIndex 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

updateShort(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateShort(String, short) .

Параметры

Имя Тип Описание
columnLabel 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

updateString(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateString(int, String) .

Параметры

Имя Тип Описание
columnIndex 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

updateString(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateString(String, String) .

Параметры

Имя Тип Описание
columnLabel 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

updateTime(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateTime(int, Time) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcTime 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

updateTime(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateTime(String, Time) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcTime 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

updateTimestamp(columnIndex, x)

For documentation of this method, see java.sql.ResultSet#updateTimestamp(int, Timestamp) .

Параметры

Имя Тип Описание
columnIndex Integer The index of the column to update (the first column is 1, the second is 2, and so on).
x JdbcTimestamp 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

updateTimestamp(columnLabel, x)

For documentation of this method, see java.sql.ResultSet#updateTimestamp(String, Timestamp) .

Параметры

Имя Тип Описание
columnLabel 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 JdbcTimestamp 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

wasNull()

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