📄 resultset.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#TYPE_SCROLL_SENSITIVE">TYPE_SCROLL_SENSITIVE</A></B></CODE><BR> The constant indicating the type for a <code>ResultSet</code> object that is scrollable and generally sensitive to changes made by others.</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#absolute(int)">absolute</A></B>(int row)</CODE><BR> Moves the cursor to the given row number in this <code>ResultSet</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#afterLast()">afterLast</A></B>()</CODE><BR> Moves the cursor to the end of this <code>ResultSet</code> object, just after the last row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#beforeFirst()">beforeFirst</A></B>()</CODE><BR> Moves the cursor to the front of this <code>ResultSet</code> object, just before the first row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#cancelRowUpdates()">cancelRowUpdates</A></B>()</CODE><BR> Cancels the updates made to the current row in this <code>ResultSet</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#clearWarnings()">clearWarnings</A></B>()</CODE><BR> Clears all warnings reported on this <code>ResultSet</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#close()">close</A></B>()</CODE><BR> Releases this <code>ResultSet</code> object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#deleteRow()">deleteRow</A></B>()</CODE><BR> Deletes the current row from this <code>ResultSet</code> object and from the underlying database.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#findColumn(java.lang.String)">findColumn</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</CODE><BR> Maps the given <code>ResultSet</code> column name to its <code>ResultSet</code> column index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#first()">first</A></B>()</CODE><BR> Moves the cursor to the first row in this <code>ResultSet</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/sql/Array.html">Array</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getArray(int)">getArray</A></B>(int i)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as an <code>Array</code> object in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/sql/Array.html">Array</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getArray(java.lang.String)">getArray</A></B>(<A HREF="../../java/lang/String.html">String</A> colName)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as an <code>Array</code> object in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getAsciiStream(int)">getAsciiStream</A></B>(int columnIndex)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a stream of ASCII characters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getAsciiStream(java.lang.String)">getAsciiStream</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a stream of ASCII characters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBigDecimal(int)">getBigDecimal</A></B>(int columnIndex)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.math.BigDecimal</code> with full precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBigDecimal(int, int)">getBigDecimal</A></B>(int columnIndex, int scale)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBigDecimal(java.lang.String)">getBigDecimal</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.math.BigDecimal</code> with full precision.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/math/BigDecimal.html">BigDecimal</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBigDecimal(java.lang.String, int)">getBigDecimal</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName, int scale)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBinaryStream(int)">getBinaryStream</A></B>(int columnIndex)</CODE><BR> Gets the value of a column in the current row as a stream of Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a binary stream of uninterpreted bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBinaryStream(java.lang.String)">getBinaryStream</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a stream of uninterpreted <code>byte</code>s.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/sql/Blob.html">Blob</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBlob(int)">getBlob</A></B>(int i)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>Blob</code> object in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/sql/Blob.html">Blob</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBlob(java.lang.String)">getBlob</A></B>(<A HREF="../../java/lang/String.html">String</A> colName)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>Blob</code> object in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBoolean(int)">getBoolean</A></B>(int columnIndex)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>boolean</code> in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getBoolean(java.lang.String)">getBoolean</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>boolean</code> in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getByte(int)">getByte</A></B>(int columnIndex)</CODE><BR> Gets the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>byte</code> in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -