blob: 6dd68b27744e3a2463c294014be2f93635160f87 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_06) on Wed Jul 19 14:42:42 EDT 2006 -->
<TITLE>
SelectObserver (Cayenne API Documentation - v.1.2)
</TITLE>
<META NAME="keywords" CONTENT="org.objectstyle.cayenne.access.util.SelectObserver class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../objectstyle-javadoc.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="SelectObserver (Cayenne API Documentation - v.1.2)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" 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_top_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-files/index-1.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>
</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="../../../../../org/objectstyle/cayenne/access/util/ResultDescriptor.html" title="class in org.objectstyle.cayenne.access.util"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/objectstyle/cayenne/access/util/SelectObserver.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SelectObserver.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.objectstyle.cayenne.access.util</FONT>
<BR>
Class SelectObserver</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">org.objectstyle.cayenne.access.util.DefaultOperationObserver</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.objectstyle.cayenne.access.util.SelectObserver</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/objectstyle/cayenne/access/OperationHints.html" title="interface in org.objectstyle.cayenne.access">OperationHints</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html" title="interface in org.objectstyle.cayenne.access">OperationObserver</A></DD>
</DL>
<HR>
<B>Deprecated.</B>&nbsp;<I>since 1.2 SelectObserver is no longer used in Cayenne internally. Users
should switch to QueryResult.</I>
<P>
<DL>
<DT><PRE>public class <B>SelectObserver</B><DT>extends <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></DL>
</PRE>
<P>
OperationObserver that accumulates select query results provided by callback methods.
Later the results can be retrieved via different <code>getResults</code> methods.
Also supports instantiating DataObjects within a provided DataContext.
<p>
This class is used as a default OperationObserver by DataContext. Also it can serve as
a helper for classes that work with DataNode directly, bypassing DataContext.
</p>
<p>
If exceptions happen during the execution, they are immediately rethrown.
</p>
<p>
<i>For more information see <a href="../../../../../../userguide/index.html"
target="_top">Cayenne User Guide. </a> </i>
</p>
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Andrei Adamchik</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/objectstyle/cayenne/access/QueryResult.html" title="class in org.objectstyle.cayenne.access"><CODE>QueryResult</CODE></A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#results">results</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#selectCount">selectCount</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.objectstyle.cayenne.access.util.DefaultOperationObserver"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.objectstyle.cayenne.access.util.<A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#DEFAULT_LOG_LEVEL">DEFAULT_LOG_LEVEL</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#globalExceptions">globalExceptions</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#queryExceptions">queryExceptions</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#SelectObserver()">SelectObserver</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#SelectObserver(org.apache.log4j.Level)">SelectObserver</A></B>(org.apache.log4j.Level&nbsp;logLevel)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 1.2</I></TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#clear()">clear</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Clears fetched objects stored in an internal list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#getResults()">getResults</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns query results accumulated during query execution with this object as an
operation observer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#getResults(org.objectstyle.cayenne.query.Query)">getResults</A></B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;q)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a list of result snapshots for the specified query, or null if this query
has never produced any results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#getResultsAsObjects(org.objectstyle.cayenne.access.DataContext, org.objectstyle.cayenne.query.Query)">getResultsAsObjects</A></B>(<A HREF="../../../../../org/objectstyle/cayenne/access/DataContext.html" title="class in org.objectstyle.cayenne.access">DataContext</A>&nbsp;dataContext,
<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;rootQuery)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>since 1.2. Note that this implementation no longer resolves prefetches
properly.</I></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#getSelectCount()">getSelectCount</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a count of select queries that returned results since the last time "clear"
was called, or since this object was created.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#nextDataRows(org.objectstyle.cayenne.query.Query, java.util.List)">nextDataRows</A></B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;query,
java.util.List&nbsp;dataRows)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Stores all objects in <code>dataRows</code> in an internal result list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#nextGlobalException(java.lang.Exception)">nextGlobalException</A></B>(java.lang.Exception&nbsp;ex)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Overrides superclass implementation to rethrow an exception immediately.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/objectstyle/cayenne/access/util/SelectObserver.html#nextQueryException(org.objectstyle.cayenne.query.Query, java.lang.Exception)">nextQueryException</A></B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;query,
java.lang.Exception&nbsp;ex)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Overrides super implementation to rethrow an exception immediately.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.objectstyle.cayenne.access.util.DefaultOperationObserver"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.objectstyle.cayenne.access.util.<A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#getGlobalExceptions()">getGlobalExceptions</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#getLoggingLevel()">getLoggingLevel</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#getQueryExceptions()">getQueryExceptions</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#hasExceptions()">hasExceptions</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#isIteratedResult()">isIteratedResult</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextBatchCount(org.objectstyle.cayenne.query.Query, int[])">nextBatchCount</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextCount(org.objectstyle.cayenne.query.Query, int)">nextCount</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextDataRows(org.objectstyle.cayenne.query.Query, org.objectstyle.cayenne.access.ResultIterator)">nextDataRows</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextGeneratedDataRows(org.objectstyle.cayenne.query.Query, org.objectstyle.cayenne.access.ResultIterator)">nextGeneratedDataRows</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#printExceptions(java.io.PrintWriter)">printExceptions</A>, <A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#setLoggingLevel(org.apache.log4j.Level)">setLoggingLevel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<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>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="results"><!-- --></A><H3>
results</H3>
<PRE>
protected java.util.Map <B>results</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DL>
</DL>
</DL>
<HR>
<A NAME="selectCount"><!-- --></A><H3>
selectCount</H3>
<PRE>
protected int <B>selectCount</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DL>
</DL>
</DL>
<!-- ========= 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="SelectObserver()"><!-- --></A><H3>
SelectObserver</H3>
<PRE>
public <B>SelectObserver</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;</DL>
<HR>
<A NAME="SelectObserver(org.apache.log4j.Level)"><!-- --></A><H3>
SelectObserver</H3>
<PRE>
public <B>SelectObserver</B>(org.apache.log4j.Level&nbsp;logLevel)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 1.2</I>
<P>
</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="getSelectCount()"><!-- --></A><H3>
getSelectCount</H3>
<PRE>
public int <B>getSelectCount</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Returns a count of select queries that returned results since the last time "clear"
was called, or since this object was created.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getResults(org.objectstyle.cayenne.query.Query)"><!-- --></A><H3>
getResults</H3>
<PRE>
public java.util.List <B>getResults</B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;q)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Returns a list of result snapshots for the specified query, or null if this query
has never produced any results.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getResults()"><!-- --></A><H3>
getResults</H3>
<PRE>
public java.util.Map <B>getResults</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Returns query results accumulated during query execution with this object as an
operation observer.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public void <B>clear</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Clears fetched objects stored in an internal list.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="nextDataRows(org.objectstyle.cayenne.query.Query, java.util.List)"><!-- --></A><H3>
nextDataRows</H3>
<PRE>
public void <B>nextDataRows</B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;query,
java.util.List&nbsp;dataRows)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Stores all objects in <code>dataRows</code> in an internal result list.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html#nextDataRows(org.objectstyle.cayenne.query.Query, java.util.List)">nextDataRows</A></CODE> in interface <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html" title="interface in org.objectstyle.cayenne.access">OperationObserver</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextDataRows(org.objectstyle.cayenne.query.Query, java.util.List)">nextDataRows</A></CODE> in class <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getResultsAsObjects(org.objectstyle.cayenne.access.DataContext, org.objectstyle.cayenne.query.Query)"><!-- --></A><H3>
getResultsAsObjects</H3>
<PRE>
public java.util.List <B>getResultsAsObjects</B>(<A HREF="../../../../../org/objectstyle/cayenne/access/DataContext.html" title="class in org.objectstyle.cayenne.access">DataContext</A>&nbsp;dataContext,
<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;rootQuery)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>since 1.2. Note that this implementation no longer resolves prefetches
properly.</I>
<P>
<DD><DL>
<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="nextQueryException(org.objectstyle.cayenne.query.Query, java.lang.Exception)"><!-- --></A><H3>
nextQueryException</H3>
<PRE>
public void <B>nextQueryException</B>(<A HREF="../../../../../org/objectstyle/cayenne/query/Query.html" title="interface in org.objectstyle.cayenne.query">Query</A>&nbsp;query,
java.lang.Exception&nbsp;ex)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Overrides super implementation to rethrow an exception immediately.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html#nextQueryException(org.objectstyle.cayenne.query.Query, java.lang.Exception)">nextQueryException</A></CODE> in interface <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html" title="interface in org.objectstyle.cayenne.access">OperationObserver</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextQueryException(org.objectstyle.cayenne.query.Query, java.lang.Exception)">nextQueryException</A></CODE> in class <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="nextGlobalException(java.lang.Exception)"><!-- --></A><H3>
nextGlobalException</H3>
<PRE>
public void <B>nextGlobalException</B>(java.lang.Exception&nbsp;ex)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Overrides superclass implementation to rethrow an exception immediately.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html#nextGlobalException(java.lang.Exception)">nextGlobalException</A></CODE> in interface <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/OperationObserver.html" title="interface in org.objectstyle.cayenne.access">OperationObserver</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html#nextGlobalException(java.lang.Exception)">nextGlobalException</A></CODE> in class <CODE><A HREF="../../../../../org/objectstyle/cayenne/access/util/DefaultOperationObserver.html" title="class in org.objectstyle.cayenne.access.util">DefaultOperationObserver</A></CODE></DL>
</DD>
<DD><DL>
</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-files/index-1.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>
</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="../../../../../org/objectstyle/cayenne/access/util/ResultDescriptor.html" title="class in org.objectstyle.cayenne.access.util"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/objectstyle/cayenne/access/util/SelectObserver.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="SelectObserver.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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>
<!--@SFLOGO@--> &nbsp; <i>Copyright &#169; 2001-2006 <a href=
"http://objectstyle.org" target="_top">ObjectStyle.org</a> All Rights Reserved.</i>
</BODY>
</HTML>