mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-07-01 05:52:44 +08:00
227 lines
9.1 KiB
HTML
227 lines
9.1 KiB
HTML
<div class="header">
|
||
<div class="subTitle">
|
||
compact2, compact3
|
||
</div>
|
||
<div class="subTitle">
|
||
javax.sql
|
||
</div>
|
||
<h2 class="title" title="Interface RowSetInternal">Interface RowSetInternal</h2>
|
||
</div><div class="contentContainer">
|
||
<div class="description">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<hr/> <br/> <pre>public interface <span class="typeNameLabel">RowSetInternal</span></pre>
|
||
<div class="block">
|
||
<span>一个<code>RowSet</code>对象实现的接口,以便向<code>RowSetReader</code>或<code>RowSetWriter</code>对象呈现自身。</span>
|
||
<span><code>RowSetInternal</code>接口包含允许读写器访问和修改行集内部状态的方法。</span>
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="simpleTagLabel">从以下版本开始:</span>
|
||
</dt>
|
||
<dd>
|
||
1.4
|
||
</dd>
|
||
</dl> </li>
|
||
</ul>
|
||
</div>
|
||
<div class="summary">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- ========== METHOD SUMMARY =========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.summary">
|
||
<!-- --> </a> <h3>方法摘要</h3>
|
||
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
|
||
<caption>
|
||
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
|
||
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
|
||
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
|
||
</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
<th class="colLast" scope="col">Method and Description</th>
|
||
</tr>
|
||
<tr class="altColor" id="i0">
|
||
<td class="colFirst"><code><a href="../../java/sql/Connection.html" title="interface in java.sql">Connection</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/sql/RowSetInternal.html#getConnection--">getConnection</a></span>()</code>
|
||
<div class="block">
|
||
检索
|
||
<code>Connection</code>传递给该对象
|
||
<code>RowSet</code>对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor" id="i1">
|
||
<td class="colFirst"><code><a href="../../java/sql/ResultSet.html" title="interface in java.sql">ResultSet</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/sql/RowSetInternal.html#getOriginal--">getOriginal</a></span>()</code>
|
||
<div class="block">
|
||
检索
|
||
<code>ResultSet</code>含有该原始值对象
|
||
<code>RowSet</code>对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor" id="i2">
|
||
<td class="colFirst"><code><a href="../../java/sql/ResultSet.html" title="interface in java.sql">ResultSet</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/sql/RowSetInternal.html#getOriginalRow--">getOriginalRow</a></span>()</code>
|
||
<div class="block">
|
||
检索包含当前行的原始值的
|
||
<code>ResultSet</code>对象。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="rowColor" id="i3">
|
||
<td class="colFirst"><code><a href="../../java/lang/Object.html" title="class in java.lang">Object</a>[]</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/sql/RowSetInternal.html#getParams--">getParams</a></span>()</code>
|
||
<div class="block">
|
||
检索为此
|
||
<code>RowSet</code>对象的命令设置的参数。
|
||
</div> </td>
|
||
</tr>
|
||
<tr class="altColor" id="i4">
|
||
<td class="colFirst"><code>void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../javax/sql/RowSetInternal.html#setMetaData-javax.sql.RowSetMetaData-">setMetaData</a></span>(<a href="../../javax/sql/RowSetMetaData.html" title="interface in javax.sql">RowSetMetaData</a> md)</code>
|
||
<div class="block">
|
||
将给定的
|
||
<code>RowSetMetaData</code>对象设置为
|
||
<code>RowSetMetaData</code>对象的
|
||
<code>RowSet</code>对象。
|
||
</div> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table> </li>
|
||
</ul> </li>
|
||
</ul>
|
||
</div>
|
||
<div class="details">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.detail">
|
||
<!-- --> </a> <h3>方法详细信息</h3> <a name="getParams--">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>getParams</h4> <pre><a href="../../java/lang/Object.html" title="class in java.lang">Object</a>[] getParams()
|
||
throws <a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></pre>
|
||
<div class="block">
|
||
检索为此
|
||
<code>RowSet</code>对象的命令设置的参数。
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="returnLabel">结果</span>
|
||
</dt>
|
||
<dd>
|
||
这个
|
||
<code>RowSet</code>对象的命令的当前参数值的数组
|
||
</dd>
|
||
<dt>
|
||
<span class="throwsLabel">异常</span>
|
||
</dt>
|
||
<dd>
|
||
<code><a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></code> - 如果发生数据库访问错误
|
||
</dd>
|
||
</dl> </li>
|
||
</ul> <a name="getConnection--">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>getConnection</h4> <pre><a href="../../java/sql/Connection.html" title="interface in java.sql">Connection</a> getConnection()
|
||
throws <a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></pre>
|
||
<div class="block">
|
||
检索
|
||
<code>Connection</code>传递给该对象
|
||
<code>RowSet</code>对象。
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="returnLabel">结果</span>
|
||
</dt>
|
||
<dd>
|
||
传递给行集的
|
||
<code>Connection</code>对象或如果没有通过,
|
||
<code>null</code>
|
||
</dd>
|
||
<dt>
|
||
<span class="throwsLabel">异常</span>
|
||
</dt>
|
||
<dd>
|
||
<code><a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></code> - 如果发生数据库访问错误
|
||
</dd>
|
||
</dl> </li>
|
||
</ul> <a name="setMetaData-javax.sql.RowSetMetaData-">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>setMetaData</h4> <pre>void setMetaData(<a href="../../javax/sql/RowSetMetaData.html" title="interface in javax.sql">RowSetMetaData</a> md)
|
||
throws <a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></pre>
|
||
<div class="block">
|
||
<span>将给定的<code>RowSetMetaData</code>对象设置为<code>RowSetMetaData</code>对象的<code>RowSet</code>对象。</span>
|
||
<span>与行集<code>RowSetReader</code>对象将使用<code>RowSetMetaData</code>方法来设置给出有关行集列的信息的值。</span>
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="paramLabel">参数</span>
|
||
</dt>
|
||
<dd>
|
||
<code>md</code> - 将使用有关行集列的信息设置的
|
||
<code>RowSetMetaData</code>对象
|
||
</dd>
|
||
<dt>
|
||
<span class="throwsLabel">异常</span>
|
||
</dt>
|
||
<dd>
|
||
<code><a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></code> - 如果发生数据库访问错误
|
||
</dd>
|
||
</dl> </li>
|
||
</ul> <a name="getOriginal--">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>getOriginal</h4> <pre><a href="../../java/sql/ResultSet.html" title="interface in java.sql">ResultSet</a> getOriginal()
|
||
throws <a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></pre>
|
||
<div class="block">
|
||
<span>检索<code>ResultSet</code>含有该原始值对象<code>RowSet</code>对象。</span>
|
||
<p> <span>光标位于结果集中的第一行之前。</span> <span>只有方法<code>getOriginal</code>返回的结果集中包含的行才被称为具有原始值。</span> </p>
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="returnLabel">结果</span>
|
||
</dt>
|
||
<dd>
|
||
行集的原始值
|
||
</dd>
|
||
<dt>
|
||
<span class="throwsLabel">异常</span>
|
||
</dt>
|
||
<dd>
|
||
<code><a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></code> - 如果发生数据库访问错误
|
||
</dd>
|
||
</dl> </li>
|
||
</ul> <a name="getOriginalRow--">
|
||
<!-- --> </a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList"> <h4>getOriginalRow</h4> <pre><a href="../../java/sql/ResultSet.html" title="interface in java.sql">ResultSet</a> getOriginalRow()
|
||
throws <a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></pre>
|
||
<div class="block">
|
||
<span>检索包含当前行的原始值的<code>ResultSet</code>对象。</span>
|
||
<span>如果当前行没有原始值,则返回空结果集。</span>
|
||
<span>如果没有当前行,则抛出异常。</span>
|
||
</div>
|
||
<dl>
|
||
<dt>
|
||
<span class="returnLabel">结果</span>
|
||
</dt>
|
||
<dd>
|
||
当前行的原始值为
|
||
<code>ResultSet</code>对象
|
||
</dd>
|
||
<dt>
|
||
<span class="throwsLabel">异常</span>
|
||
</dt>
|
||
<dd>
|
||
<code><a href="../../java/sql/SQLException.html" title="class in java.sql">SQLException</a></code> - 如果发生数据库访问错误,或者在游标位于插入行,第一行之前或最后一行之后调用此方法
|
||
</dd>
|
||
</dl> </li>
|
||
</ul> </li>
|
||
</ul> </li>
|
||
</ul>
|
||
</div>
|
||
</div> |