📄 rowsetmetadataimpl.html
字号:
throws java.sql.SQLException</PRE><DL><DD>Specify the column's table's catalog name, if any.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../javax/sql/RowSetMetaData.html#setCatalogName(int, java.lang.String)">setCatalogName</A> in interface <A HREF="../../javax/sql/RowSetMetaData.html">RowSetMetaData</A><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.</DL></DD></DL><HR><A NAME="setColumnType(int, int)"><!-- --></A><H3>setColumnType</H3><PRE>public void <B>setColumnType</B>(int columnIndex, int SQLType) throws java.sql.SQLException</PRE><DL><DD>Specify the column's SQL type.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../javax/sql/RowSetMetaData.html#setColumnType(int, int)">setColumnType</A> in interface <A HREF="../../javax/sql/RowSetMetaData.html">RowSetMetaData</A><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>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 columnIndex, java.lang.String typeName) throws java.sql.SQLException</PRE><DL><DD>Specify the column's data source specific type name, if any.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../javax/sql/RowSetMetaData.html#setColumnTypeName(int, java.lang.String)">setColumnTypeName</A> in interface <A HREF="../../javax/sql/RowSetMetaData.html">RowSetMetaData</A><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.</DL></DD></DL><HR><A NAME="getColumnCount()"><!-- --></A><H3>getColumnCount</H3><PRE>public int <B>getColumnCount</B>() throws java.sql.SQLException</PRE><DL><DD>What's the number of columns in the ResultSet?<DD><DL><DT><B>Returns:</B><DD>the number</DL></DD></DL><HR><A NAME="isAutoIncrement(int)"><!-- --></A><H3>isAutoIncrement</H3><PRE>public boolean <B>isAutoIncrement</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Is the 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, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isCaseSensitive(int)"><!-- --></A><H3>isCaseSensitive</H3><PRE>public boolean <B>isCaseSensitive</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Does a column's case matter?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isSearchable(int)"><!-- --></A><H3>isSearchable</H3><PRE>public boolean <B>isSearchable</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Can the column 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, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isCurrency(int)"><!-- --></A><H3>isCurrency</H3><PRE>public boolean <B>isCurrency</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Is the column a cash value?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isNullable(int)"><!-- --></A><H3>isNullable</H3><PRE>public int <B>isNullable</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Can you put a NULL in this column?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>columnNoNulls, columnNullable or columnNullableUnknown</DL></DD></DL><HR><A NAME="isSigned(int)"><!-- --></A><H3>isSigned</H3><PRE>public boolean <B>isSigned</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Is the column a signed number?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="getColumnDisplaySize(int)"><!-- --></A><H3>getColumnDisplaySize</H3><PRE>public int <B>getColumnDisplaySize</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's 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, ...<DT><B>Returns:</B><DD>max width</DL></DD></DL><HR><A NAME="getColumnLabel(int)"><!-- --></A><H3>getColumnLabel</H3><PRE>public java.lang.String <B>getColumnLabel</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's the suggested column title for use in printouts and displays?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="getColumnName(int)"><!-- --></A><H3>getColumnName</H3><PRE>public java.lang.String <B>getColumnName</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's name?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>column name</DL></DD></DL><HR><A NAME="getSchemaName(int)"><!-- --></A><H3>getSchemaName</H3><PRE>public java.lang.String <B>getSchemaName</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's table's schema?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>schema name or "" if not applicable</DL></DD></DL><HR><A NAME="getPrecision(int)"><!-- --></A><H3>getPrecision</H3><PRE>public int <B>getPrecision</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a 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, ...<DT><B>Returns:</B><DD>precision</DL></DD></DL><HR><A NAME="getScale(int)"><!-- --></A><H3>getScale</H3><PRE>public int <B>getScale</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a 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, ...<DT><B>Returns:</B><DD>scale</DL></DD></DL><HR><A NAME="getTableName(int)"><!-- --></A><H3>getTableName</H3><PRE>public java.lang.String <B>getTableName</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's table name?<DD><DL><DT><B>Returns:</B><DD>table name or "" if not applicable</DL></DD></DL><HR><A NAME="getCatalogName(int)"><!-- --></A><H3>getCatalogName</H3><PRE>public java.lang.String <B>getCatalogName</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's table's catalog name?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>column name or "" if not applicable.</DL></DD></DL><HR><A NAME="getColumnType(int)"><!-- --></A><H3>getColumnType</H3><PRE>public int <B>getColumnType</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's SQL type?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>SQL type<DT><B>See Also: </B><DD><CODE>Types</CODE></DL></DD></DL><HR><A NAME="getColumnTypeName(int)"><!-- --></A><H3>getColumnTypeName</H3><PRE>public java.lang.String <B>getColumnTypeName</B>(int column) throws java.sql.SQLException</PRE><DL><DD>What's a column's data source specific type name?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>type name</DL></DD></DL><HR><A NAME="isReadOnly(int)"><!-- --></A><H3>isReadOnly</H3><PRE>public boolean <B>isReadOnly</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Is a column definitely not writable?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isWritable(int)"><!-- --></A><H3>isWritable</H3><PRE>public boolean <B>isWritable</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Is it possible for a write on the column to succeed?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="isDefinitelyWritable(int)"><!-- --></A><H3>isDefinitelyWritable</H3><PRE>public boolean <B>isDefinitelyWritable</B>(int column) throws java.sql.SQLException</PRE><DL><DD>Will a write on the column definitely succeed?<DD><DL><DT><B>Parameters:</B><DD><CODE>column</CODE> - the first column is 1, the second is 2, ...<DT><B>Returns:</B><DD>true if so</DL></DD></DL><HR><A NAME="getColumnClassName(int)"><!-- --></A><H3>getColumnClassName</H3><PRE>public java.lang.String <B>getColumnClassName</B>(int column) throws java.sql.SQLException</PRE><DL><DD><DL></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> </TD> <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/sql/RowSetEvent.html"><B>PREV CLASS</B></A> <A HREF="../../javax/sql/RowSetReaderImpl.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> <A HREF="RowSetMetaDataImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -