rowsetmetadata.html

来自「jave白皮书 一本很好的介绍JAVA的书籍呦」· HTML 代码 · 共 565 行 · 第 1/2 页

HTML
565 行
字号
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setColumnCount(int)"><!-- --></A><H3>setColumnCount</H3><PRE>public void <B>setColumnCount</B>(int&nbsp;columnCount)                    throws java.sql.SQLException</PRE><DL><DD>Set the number of columns in the RowSet.<DD><DL><DT><B>Parameters:</B><DD><CODE>columnCount</CODE> - number of columns.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setAutoIncrement(int, boolean)"><!-- --></A><H3>setAutoIncrement</H3><PRE>public void <B>setAutoIncrement</B>(int&nbsp;columnIndex,                             boolean&nbsp;property)                      throws java.sql.SQLException</PRE><DL><DD>Specify whether the is column automatically numbered, thus read-only.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either true or false.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setCaseSensitive(int, boolean)"><!-- --></A><H3>setCaseSensitive</H3><PRE>public void <B>setCaseSensitive</B>(int&nbsp;columnIndex,                             boolean&nbsp;property)                      throws java.sql.SQLException</PRE><DL><DD>Specify whether the column is case sensitive.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either true or false.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setSearchable(int, boolean)"><!-- --></A><H3>setSearchable</H3><PRE>public void <B>setSearchable</B>(int&nbsp;columnIndex,                          boolean&nbsp;property)                   throws java.sql.SQLException</PRE><DL><DD>Specify whether the column can be used in a where clause.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either true or false.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setCurrency(int, boolean)"><!-- --></A><H3>setCurrency</H3><PRE>public void <B>setCurrency</B>(int&nbsp;columnIndex,                        boolean&nbsp;property)                 throws java.sql.SQLException</PRE><DL><DD>Specify whether the column is a cash value.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either true or false.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setNullable(int, int)"><!-- --></A><H3>setNullable</H3><PRE>public void <B>setNullable</B>(int&nbsp;columnIndex,                        int&nbsp;property)                 throws java.sql.SQLException</PRE><DL><DD>Specify whether the column's value can be set to NULL.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either one of columnNoNulls, columnNullable or columnNullableUnknown.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setSigned(int, boolean)"><!-- --></A><H3>setSigned</H3><PRE>public void <B>setSigned</B>(int&nbsp;columnIndex,                      boolean&nbsp;property)               throws java.sql.SQLException</PRE><DL><DD>Speicfy whether the column is a signed number.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>property</CODE> - is either true or false.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setColumnDisplaySize(int, int)"><!-- --></A><H3>setColumnDisplaySize</H3><PRE>public void <B>setColumnDisplaySize</B>(int&nbsp;columnIndex,                                 int&nbsp;size)                          throws java.sql.SQLException</PRE><DL><DD>Specify the column's normal max width in chars.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>size</CODE> - size of the column<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setColumnLabel(int, java.lang.String)"><!-- --></A><H3>setColumnLabel</H3><PRE>public void <B>setColumnLabel</B>(int&nbsp;columnIndex,                           java.lang.String&nbsp;label)                    throws java.sql.SQLException</PRE><DL><DD>Specify the suggested column title for use in printouts and displays, if any.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>label</CODE> - the column title<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setColumnName(int, java.lang.String)"><!-- --></A><H3>setColumnName</H3><PRE>public void <B>setColumnName</B>(int&nbsp;columnIndex,                          java.lang.String&nbsp;columnName)                   throws java.sql.SQLException</PRE><DL><DD>Specify the column name.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>columnName</CODE> - the column name<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setSchemaName(int, java.lang.String)"><!-- --></A><H3>setSchemaName</H3><PRE>public void <B>setSchemaName</B>(int&nbsp;columnIndex,                          java.lang.String&nbsp;schemaName)                   throws java.sql.SQLException</PRE><DL><DD>Specify the column's table's schema, if any.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>schemaName</CODE> - the schema name<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setPrecision(int, int)"><!-- --></A><H3>setPrecision</H3><PRE>public void <B>setPrecision</B>(int&nbsp;columnIndex,                         int&nbsp;precision)                  throws java.sql.SQLException</PRE><DL><DD>Specify the column's number of decimal digits.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>precision</CODE> - number of decimal digits.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setScale(int, int)"><!-- --></A><H3>setScale</H3><PRE>public void <B>setScale</B>(int&nbsp;columnIndex,                     int&nbsp;scale)              throws java.sql.SQLException</PRE><DL><DD>Specify the column's number of digits to right of the decimal point.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>scale</CODE> - number of digits to right of decimal point.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setTableName(int, java.lang.String)"><!-- --></A><H3>setTableName</H3><PRE>public void <B>setTableName</B>(int&nbsp;columnIndex,                         java.lang.String&nbsp;tableName)                  throws java.sql.SQLException</PRE><DL><DD>Specify the column's table name, if any.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>tableName</CODE> - column's table name.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setCatalogName(int, java.lang.String)"><!-- --></A><H3>setCatalogName</H3><PRE>public void <B>setCatalogName</B>(int&nbsp;columnIndex,                           java.lang.String&nbsp;catalogName)                    throws java.sql.SQLException</PRE><DL><DD>Specify the column's table's catalog name, if any.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>catalogName</CODE> - column's catalog name.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><HR><A NAME="setColumnType(int, int)"><!-- --></A><H3>setColumnType</H3><PRE>public void <B>setColumnType</B>(int&nbsp;columnIndex,                          int&nbsp;SQLType)                   throws java.sql.SQLException</PRE><DL><DD>Specify the column's SQL type.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>SQLType</CODE> - column's SQL type.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.<DT><B>See Also: </B><DD><CODE>Types</CODE></DL></DD></DL><HR><A NAME="setColumnTypeName(int, java.lang.String)"><!-- --></A><H3>setColumnTypeName</H3><PRE>public void <B>setColumnTypeName</B>(int&nbsp;columnIndex,                              java.lang.String&nbsp;typeName)                       throws java.sql.SQLException</PRE><DL><DD>Specify the column's data source specific type name, if any.<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DD><CODE>typeName</CODE> - data source specific type name.<DT><B>Throws:</B><DD>java.sql.SQLException - if a database-access error occurs.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../javax/sql/RowSetListener.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../javax/sql/RowSetReader.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RowSetMetaData.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?