⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resultsethelper.html

📁 weka是机器学习和数据挖掘领域最有影响力的开源项目之一
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ResultSetHelper(java.sql.ResultSet)"><!-- --></A><H3>ResultSetHelper</H3><PRE>public <B>ResultSetHelper</B>(java.sql.ResultSet&nbsp;rs)</PRE><DL><DD>initializes the helper, with unlimited number of rows<P><DL><DT><B>Parameters:</B><DD><CODE>rs</CODE> - the resultset to work on</DL></DL><HR><A NAME="ResultSetHelper(java.sql.ResultSet, int)"><!-- --></A><H3>ResultSetHelper</H3><PRE>public <B>ResultSetHelper</B>(java.sql.ResultSet&nbsp;rs,                       int&nbsp;max)</PRE><DL><DD>initializes the helper, with the given maximum number of rows (less than 1 means unlimited)<P><DL><DT><B>Parameters:</B><DD><CODE>rs</CODE> - the resultset to work on<DD><CODE>max</CODE> - the maximum number of rows to retrieve</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getResultSet()"><!-- --></A><H3>getResultSet</H3><PRE>public java.sql.ResultSet <B>getResultSet</B>()</PRE><DL><DD>the underlying resultset<P><DD><DL></DL></DD></DL><HR><A NAME="getColumnCount()"><!-- --></A><H3>getColumnCount</H3><PRE>public int <B>getColumnCount</B>()</PRE><DL><DD>returns the number of columns in the resultset<P><DD><DL></DL></DD></DL><HR><A NAME="getRowCount()"><!-- --></A><H3>getRowCount</H3><PRE>public int <B>getRowCount</B>()</PRE><DL><DD>returns the number of rows in the resultset<P><DD><DL></DL></DD></DL><HR><A NAME="getColumnNames()"><!-- --></A><H3>getColumnNames</H3><PRE>public java.lang.String[] <B>getColumnNames</B>()</PRE><DL><DD>returns an array with the names of the columns in the resultset<P><DD><DL></DL></DD></DL><HR><A NAME="getNumericColumns()"><!-- --></A><H3>getNumericColumns</H3><PRE>public boolean[] <B>getNumericColumns</B>()</PRE><DL><DD>returns an array that indicates whether a column is numeric or nor<P><DD><DL></DL></DD></DL><HR><A NAME="getColumnClasses()"><!-- --></A><H3>getColumnClasses</H3><PRE>public java.lang.Class[] <B>getColumnClasses</B>()</PRE><DL><DD>returns the classes for the columns<P><DD><DL></DL></DD></DL><HR><A NAME="hasMaxRows()"><!-- --></A><H3>hasMaxRows</H3><PRE>public boolean <B>hasMaxRows</B>()</PRE><DL><DD>whether a limit on the rows to retrieve was set<P><DD><DL></DL></DD></DL><HR><A NAME="getMaxRows()"><!-- --></A><H3>getMaxRows</H3><PRE>public int <B>getMaxRows</B>()</PRE><DL><DD>the maximum number of rows to retrieve, less than 1 means unlimited<P><DD><DL></DL></DD></DL><HR><A NAME="getCells()"><!-- --></A><H3>getCells</H3><PRE>public java.lang.Object[][] <B>getCells</B>()</PRE><DL><DD>returns an 2-dimensional array with the content of the resultset, the first dimension is the row, the second the column (i.e., getCells()[y][x]). Note: the data is not cached! It is always retrieved anew.<P><DD><DL></DL></DD></DL><HR><A NAME="typeToClass(int)"><!-- --></A><H3>typeToClass</H3><PRE>public static java.lang.Class <B>typeToClass</B>(int&nbsp;type)</PRE><DL><DD>Returns the class associated with a SQL type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the SQL type<DT><B>Returns:</B><DD>the Java class corresponding with the type</DL></DD></DL><HR><A NAME="typeIsNumeric(int)"><!-- --></A><H3>typeIsNumeric</H3><PRE>public static boolean <B>typeIsNumeric</B>(int&nbsp;type)</PRE><DL><DD>returns whether the SQL type is numeric (and therefore the justification should be right)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the SQL type<DT><B>Returns:</B><DD>whether the given type is numeric</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/" target="_blank"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/gui/sql/ResultPanel.html" title="class in weka.gui.sql"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/sql/ResultSetTable.html" title="class in weka.gui.sql"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?weka/gui/sql/ResultSetHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ResultSetHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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