📄 resultset.html
字号:
<TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getObject(java.lang.String)">getObject</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 an <code>Object</code> 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/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getObject(java.lang.String, java.util.Map)">getObject</A></B>(<A HREF="../../java/lang/String.html">String</A> colName, <A HREF="../../java/util/Map.html">Map</A> map)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as an <code>Object</code> 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/Ref.html">Ref</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getRef(int)">getRef</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>Ref</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/Ref.html">Ref</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getRef(java.lang.String)">getRef</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>Ref</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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getRow()">getRow</A></B>()</CODE><BR> Retrieves the current row number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getShort(int)">getShort</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>short</code> in the Java programming language.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getShort(java.lang.String)">getShort</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>short</code> 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/Statement.html">Statement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getStatement()">getStatement</A></B>()</CODE><BR> Returns the <code>Statement</code> object that produced 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/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getString(int)">getString</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>String</code> 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/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getString(java.lang.String)">getString</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>String</code> 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/Time.html">Time</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTime(int)">getTime</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.sql.Time</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/Time.html">Time</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTime(int, java.util.Calendar)">getTime</A></B>(int columnIndex, <A HREF="../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.sql.Time</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/Time.html">Time</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTime(java.lang.String)">getTime</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.sql.Time</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/Time.html">Time</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTime(java.lang.String, java.util.Calendar)">getTime</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName, <A HREF="../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.sql.Time</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/Timestamp.html">Timestamp</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTimestamp(int)">getTimestamp</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.sql.Timestamp</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/Timestamp.html">Timestamp</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTimestamp(int, java.util.Calendar)">getTimestamp</A></B>(int columnIndex, <A HREF="../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.sql.Timestamp</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/Timestamp.html">Timestamp</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTimestamp(java.lang.String)">getTimestamp</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.sql.Timestamp</code> object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../java/sql/Timestamp.html">Timestamp</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getTimestamp(java.lang.String, java.util.Calendar)">getTimestamp</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName, <A HREF="../../java/util/Calendar.html">Calendar</A> cal)</CODE><BR> Returns the value of the designated column in the current row of this <code>ResultSet</code> object as a <code>java.sql.Timestamp</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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getType()">getType</A></B>()</CODE><BR> Returns the type of 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/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getUnicodeStream(int)">getUnicodeStream</A></B>(int columnIndex)</CODE><BR> <B>Deprecated.</B> <I>use <code>getCharacterStream</code> in place of <code>getUnicodeStream</code></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#getUnicodeStream(java.lang.String)">getUnicodeStream</A></B>(<A HREF="../../java/lang/String.html">String</A> columnName)</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/sql/SQLWarning.html">SQLWarning</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#getWarnings()">getWarnings</A></B>()</CODE><BR> Returns the first warning reported by calls 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#insertRow()">insertRow</A></B>()</CODE><BR> Inserts the contents of the insert row into this <code>ResultSet</code> objaect and into the database.</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#isAfterLast()">isAfterLast</A></B>()</CODE><BR> Indicates whether the cursor is after the last 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#isBeforeFirst()">isBeforeFirst</A></B>()</CODE><BR> Indicates whether the cursor is before 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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../java/sql/ResultSet.html#isFirst()">isFirst</A></B>()</CODE><BR> Indicates whether the cursor is on the first row of this <code>ResultSet</code> object.</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#isLast()">isLast</A></B>()</CODE><BR> Indicates whether the cursor is on the last row of this <code>ResultSet</code> object.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -