📄 queryexecuteevent.html
字号:
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="QueryExecuteEvent(java.lang.Object, weka.gui.sql.DbUtils, java.lang.String, int, java.sql.ResultSet, java.lang.Exception)"><!-- --></A><H3>QueryExecuteEvent</H3><PRE>public <B>QueryExecuteEvent</B>(java.lang.Object source, <A HREF="../../../../weka/gui/sql/DbUtils.html" title="class in weka.gui.sql">DbUtils</A> utils, java.lang.String query, int rows, java.sql.ResultSet rs, java.lang.Exception ex)</PRE><DL><DD>constructs the event<P><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source that generated this event<DD><CODE>utils</CODE> - the DbUtils instance that connected to the DB<DD><CODE>query</CODE> - the query that is the basis for the resultset<DD><CODE>rows</CODE> - the maximum number of rows to retrieve (0 for all)<DD><CODE>rs</CODE> - the ResultSet that was produced (depending on the type of SQL query it can also be NULL)<DD><CODE>ex</CODE> - in case an exception occurred</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="getDbUtils()"><!-- --></A><H3>getDbUtils</H3><PRE>public <A HREF="../../../../weka/gui/sql/DbUtils.html" title="class in weka.gui.sql">DbUtils</A> <B>getDbUtils</B>()</PRE><DL><DD>returns the DbUtils instance that was executed the query<P><DD><DL></DL></DD></DL><HR><A NAME="getQuery()"><!-- --></A><H3>getQuery</H3><PRE>public java.lang.String <B>getQuery</B>()</PRE><DL><DD>returns the query that was executed<P><DD><DL></DL></DD></DL><HR><A NAME="getMaxRows()"><!-- --></A><H3>getMaxRows</H3><PRE>public int <B>getMaxRows</B>()</PRE><DL><DD>returns the maximum number of rows to retrieve. 0 means all.<P><DD><DL></DL></DD></DL><HR><A NAME="failed()"><!-- --></A><H3>failed</H3><PRE>public boolean <B>failed</B>()</PRE><DL><DD>is TRUE in case the exception is not NULL, i.e. the query failed<P><DD><DL></DL></DD></DL><HR><A NAME="hasResult()"><!-- --></A><H3>hasResult</H3><PRE>public boolean <B>hasResult</B>()</PRE><DL><DD>whether a ResultSet was produced, e.g. DDL commands like delete, drop or update do not produce one.<P><DD><DL></DL></DD></DL><HR><A NAME="getResultSet()"><!-- --></A><H3>getResultSet</H3><PRE>public java.sql.ResultSet <B>getResultSet</B>()</PRE><DL><DD>returns the resultset that was produced, can be null in case the query failed<P><DD><DL></DL></DD></DL><HR><A NAME="getException()"><!-- --></A><H3>getException</H3><PRE>public java.lang.Exception <B>getException</B>()</PRE><DL><DD>returns the exception, if one happened, otherwise NULL<P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>returns the event in a string representation<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.util.EventObject</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the event in a string representation</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../weka/gui/sql/event/HistoryChangedListener.html" title="interface in weka.gui.sql.event"><B>PREV CLASS</B></A> <A HREF="../../../../weka/gui/sql/event/QueryExecuteListener.html" title="interface in weka.gui.sql.event"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?weka/gui/sql/event/QueryExecuteEvent.html" target="_top"><B>FRAMES</B></A> <A HREF="QueryExecuteEvent.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -