このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XResultSet
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: sdbc ::

interface XResultSet
Description
供給するs the 航海 on a (米)棚上げする/(英)提議する of data. A ResultSet 反対する is usually 生成するd by 遂行する/発効させるing a 声明 .

A ResultSet 持続するs a cursor pointing to its 現在の 列/漕ぐ/騒動 of data. 最初 the cursor is positioned before the first 列/漕ぐ/騒動. The 'next' method moves the cursor to the next 列/漕ぐ/騒動.

Developers Guide
Database - Scrollable Result 始める,決めるs

Methods' 要約
next moves the cursor 負かす/撃墜する one 列/漕ぐ/騒動 from its 現在の position.  
isBeforeFirst 示すs whether the cursor is before the first 列/漕ぐ/騒動 in the result 始める,決める.  
isAfterLast 示すs whether the cursor is after the last 列/漕ぐ/騒動 in the result 始める,決める.  
isFirst 示すs whether the cursor is on the first 列/漕ぐ/騒動 of the result 始める,決める.  
isLast 示すs whether the cursor is on the last 列/漕ぐ/騒動 of the result 始める,決める.  
beforeFirst moves the cursor to the 前線 of the result 始める,決める, just before the first 列/漕ぐ/騒動. Has no 影響 if the result 始める,決める 含む/封じ込めるs no 列/漕ぐ/騒動s.  
afterLast moves the cursor to the end of the result 始める,決める, just after the last 列/漕ぐ/騒動. Has no 影響 if the result 始める,決める 含む/封じ込めるs no 列/漕ぐ/騒動s.  
first moves the cursor to the first 列/漕ぐ/騒動 in the result 始める,決める.  
last moves the cursor to the last 列/漕ぐ/騒動 in the result 始める,決める.  
getRow retrieves the 現在の 列/漕ぐ/騒動 number. The first 列/漕ぐ/騒動 is number 1, the second number 2, and so on.  
絶対の moves the cursor to the given 列/漕ぐ/騒動 number in the result 始める,決める.  
親族 moves the cursor a 親族 number of 列/漕ぐ/騒動s, either 肯定的な or 消極的な.  
previous moves the cursor to the previous 列/漕ぐ/騒動 in the result 始める,決める.  
refreshRow refreshes the 現在の 列/漕ぐ/騒動 with its most 最近の value in the database. Cannot be called when on the 挿入する 列/漕ぐ/騒動. The refreshRow method 供給するs a way for an 使用/適用 to explicitly tell the SDBC driver to refetch a 列/漕ぐ/騒動(s) from the database. An 使用/適用 may want to call refreshRow when (武器などの)隠匿場所ing or prefetching is 存在 done by the SDBC driver to fetch the 最新の value of a 列/漕ぐ/騒動 from the database. The SDBC driver may 現実に refresh 多重の 列/漕ぐ/騒動s at once if the fetch size is greater than one. All values are refetched 支配する to the 処理/取引 孤立/分離 level and cursor sensitivity. If refreshRow is called after calling updateXXX , but before calling XResultSet::updateRow() , then the updates made to the 列/漕ぐ/騒動 are lost. Calling the method refreshRow frequently will likely slow 業績/成果.  
rowUpdated 示すs whether the 現在の 列/漕ぐ/騒動 has been updated. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する updates.  
rowInserted 示すs whether the 現在の 列/漕ぐ/騒動 has had an insertion. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する 明白な 挿入するs.  
rowDeleted 示すs whether a 列/漕ぐ/騒動 has been 削除するd. A 削除するd 列/漕ぐ/騒動 may leave a 明白な "穴を開ける" in a result 始める,決める. This method can be used to (悪事,秘密などを)発見する 穴を開けるs in a result 始める,決める. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する deletions.  
getStatement returns the 声明 that produced this ResultSet 反対する. If the result 始める,決める was 生成するd some other way, such as by an XDatabaseMetaData method, this method returns NULL .  
Methods' 詳細(に述べる)s
next
boolean
next()
raises( SQLException );

Description
moves the cursor 負かす/撃墜する one 列/漕ぐ/騒動 from its 現在の position.

A ResultSet cursor is 最初 positioned before the first 列/漕ぐ/騒動; the first call to next makes the first 列/漕ぐ/騒動 the 現在の 列/漕ぐ/騒動; the second call makes the second 列/漕ぐ/騒動 the 現在の 列/漕ぐ/騒動, and so on.

If an input stream is open for the 現在の 列/漕ぐ/騒動, a call to the method next will 暗黙に の近くに it. The ResultSet's 警告 chain is (疑いを)晴らすd when a new 列/漕ぐ/騒動 is read.

Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
isBeforeFirst
boolean
isBeforeFirst()
raises( SQLException );

Description
示すs whether the cursor is before the first 列/漕ぐ/騒動 in the result 始める,決める.
Returns
true if so
Throws
SQLException if a database 接近 error occurs.
isAfterLast
boolean
isAfterLast()
raises( SQLException );

Description
示すs whether the cursor is after the last 列/漕ぐ/騒動 in the result 始める,決める.
Returns
true if so
Throws
SQLException if a database 接近 error occurs.
isFirst
boolean
isFirst()
raises( SQLException );

Description
示すs whether the cursor is on the first 列/漕ぐ/騒動 of the result 始める,決める.
Returns
true if so
Throws
SQLException if a database 接近 error occurs.
isLast
boolean
isLast()
raises( SQLException );

Description
示すs whether the cursor is on the last 列/漕ぐ/騒動 of the result 始める,決める.

公式文書,認める: Calling the method isAtLast may be expensive because the SDBC driver might need to fetch ahead one 列/漕ぐ/騒動 in order to 決定する whether the 現在の 列/漕ぐ/騒動 is the last 列/漕ぐ/騒動 in the result 始める,決める.

Returns
true if so
Throws
SQLException if a database 接近 error occurs.
beforeFirst
無効の
beforeFirst()
raises( SQLException );

Description
moves the cursor to the 前線 of the result 始める,決める, just before the first 列/漕ぐ/騒動. Has no 影響 if the result 始める,決める 含む/封じ込めるs no 列/漕ぐ/騒動s.
Throws
SQLException if a database 接近 error occurs.
afterLast
無効の
afterLast()
raises( SQLException );

Description
moves the cursor to the end of the result 始める,決める, just after the last 列/漕ぐ/騒動. Has no 影響 if the result 始める,決める 含む/封じ込めるs no 列/漕ぐ/騒動s.
Throws
SQLException if a database 接近 error occurs.
first
boolean
first()
raises( SQLException );

Description
moves the cursor to the first 列/漕ぐ/騒動 in the result 始める,決める.
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
last
boolean
last()
raises( SQLException );

Description
moves the cursor to the last 列/漕ぐ/騒動 in the result 始める,決める.
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
getRow
long
getRow()
raises( SQLException );

Description
retrieves the 現在の 列/漕ぐ/騒動 number. The first 列/漕ぐ/騒動 is number 1, the second number 2, and so on.
Returns
the 現在の position
Throws
SQLException if a database 接近 error occurs.
絶対の
boolean
絶対の( [in] long  列/漕ぐ/騒動 )
raises( SQLException );

Description
moves the cursor to the given 列/漕ぐ/騒動 number in the result 始める,決める.

If the 列/漕ぐ/騒動 number is 肯定的な, the cursor moves to the given 列/漕ぐ/騒動 number with 尊敬(する)・点 to the beginning of the result 始める,決める. The first 列/漕ぐ/騒動 is 列/漕ぐ/騒動 1, the second is 列/漕ぐ/騒動 2, and so on.

If the given 列/漕ぐ/騒動 number is 消極的な, the cursor moves to an 絶対の 列/漕ぐ/騒動 position with 尊敬(する)・点 to the end of the result 始める,決める. For example, calling 絶対の(-1) positions the cursor on the last 列/漕ぐ/騒動, 絶対の(-2) 示すs the next-to-last 列/漕ぐ/騒動, and so on.

An 試みる/企てる to position the cursor beyond the first/last 列/漕ぐ/騒動 in the result 始める,決める leaves the cursor before/after the first/last 列/漕ぐ/騒動, それぞれ.

公式文書,認める: Calling 絶対の(1) is the same as calling XResultSet::first() . Calling moveToPosition(-1) is the same as calling moveToLast().

親族
boolean
親族( [in] long  列/漕ぐ/騒動s )
raises( SQLException );

Description
moves the cursor a 親族 number of 列/漕ぐ/騒動s, either 肯定的な or 消極的な.

試みる/企てるing to move beyond the first/last 列/漕ぐ/騒動 in the result 始める,決める positions the cursor before/after the first/last 列/漕ぐ/騒動. Calling 親族(0) is valid, but does not change the cursor position.

公式文書,認める: Calling 親族(1) is different from calling XResultSet::next() because is makes sense to call next() when there is no 現在の 列/漕ぐ/騒動, for example, when the cursor is positioned before the first 列/漕ぐ/騒動 or after the last 列/漕ぐ/騒動 of the result 始める,決める.

Parameter 列/漕ぐ/騒動s
how many 列/漕ぐ/騒動s should be moved 親族 to the 現在の 列/漕ぐ/騒動
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
previous
boolean
previous()
raises( SQLException );

Description
moves the cursor to the previous 列/漕ぐ/騒動 in the result 始める,決める.

公式文書,認める: previous() is not the same as 親族(-1) because it makes sense to call previous() when there is no 現在の 列/漕ぐ/騒動.

Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
refreshRow
無効の
refreshRow()
raises( SQLException );

Description
refreshes the 現在の 列/漕ぐ/騒動 with its most 最近の value in the database. Cannot be called when on the 挿入する 列/漕ぐ/騒動. The refreshRow method 供給するs a way for an 使用/適用 to explicitly tell the SDBC driver to refetch a 列/漕ぐ/騒動(s) from the database. An 使用/適用 may want to call refreshRow when (武器などの)隠匿場所ing or prefetching is 存在 done by the SDBC driver to fetch the 最新の value of a 列/漕ぐ/騒動 from the database. The SDBC driver may 現実に refresh 多重の 列/漕ぐ/騒動s at once if the fetch size is greater than one. All values are refetched 支配する to the 処理/取引 孤立/分離 level and cursor sensitivity. If refreshRow is called after calling updateXXX , but before calling XResultSet::updateRow() , then the updates made to the 列/漕ぐ/騒動 are lost. Calling the method refreshRow frequently will likely slow 業績/成果.
Throws
SQLException if a database 接近 error occurs.
rowUpdated
boolean
rowUpdated()
raises( SQLException );

Description
示すs whether the 現在の 列/漕ぐ/騒動 has been updated. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する updates.
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
rowInserted
boolean
rowInserted()
raises( SQLException );

Description
示すs whether the 現在の 列/漕ぐ/騒動 has had an insertion. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する 明白な 挿入するs.
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
rowDeleted
boolean
rowDeleted()
raises( SQLException );

Description
示すs whether a 列/漕ぐ/騒動 has been 削除するd. A 削除するd 列/漕ぐ/騒動 may leave a 明白な "穴を開ける" in a result 始める,決める. This method can be used to (悪事,秘密などを)発見する 穴を開けるs in a result 始める,決める. The value returned depends on whether or not the result 始める,決める can (悪事,秘密などを)発見する deletions.
Returns
true if successful
Throws
SQLException if a database 接近 error occurs.
getStatement
::com::sun::星/主役にする::uno::XInterface
getStatement()
raises( SQLException );

Description
returns the 声明 that produced this ResultSet 反対する. If the result 始める,決める was 生成するd some other way, such as by an XDatabaseMetaData method, this method returns NULL .
Returns
the 声明 反対する
Throws
SQLException if a database 接近 error occurs.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.