| <!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:45:52 EDT 2006 --> |
| <TITLE> |
| GenericSelectQuery (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.cayenne.query.GenericSelectQuery interface"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../apache-javadoc.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="GenericSelectQuery (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT)"; |
| } |
| </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> </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-files/index-1.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> |
| </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="../../../../org/apache/cayenne/query/DeleteQuery.html" title="class in org.apache.cayenne.query"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/query/IndirectQuery.html" title="class in org.apache.cayenne.query"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/query/GenericSelectQuery.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="GenericSelectQuery.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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.apache.cayenne.query</FONT> |
| <BR> |
| Interface GenericSelectQuery</H2> |
| <DL> |
| <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A>, java.io.Serializable</DD> |
| </DL> |
| <DL> |
| <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/cayenne/wocompat/EOQuery.html" title="class in org.apache.cayenne.wocompat">EOQuery</A>, <A HREF="../../../../org/apache/cayenne/wocompat/EOSQLQuery.html" title="class in org.apache.cayenne.wocompat">EOSQLQuery</A>, <A HREF="../../../../org/apache/cayenne/query/PrefetchSelectQuery.html" title="class in org.apache.cayenne.query">PrefetchSelectQuery</A>, <A HREF="../../../../org/apache/cayenne/query/ProcedureQuery.html" title="class in org.apache.cayenne.query">ProcedureQuery</A>, <A HREF="../../../../org/apache/cayenne/query/SelectQuery.html" title="class in org.apache.cayenne.query">SelectQuery</A>, <A HREF="../../../../org/apache/cayenne/query/SQLTemplate.html" title="class in org.apache.cayenne.query">SQLTemplate</A></DD> |
| </DL> |
| <HR> |
| <B>Deprecated.</B> <I>Since 1.2 this interface obsolete. Query parameters are described via |
| <A HREF="../../../../org/apache/cayenne/query/QueryMetadata.html" title="interface in org.apache.cayenne.query"><CODE>QueryMetadata</CODE></A>.</I> |
| <P> |
| <DL> |
| <DT><PRE>public interface <B>GenericSelectQuery</B><DT>extends <A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A></DL> |
| </PRE> |
| |
| <P> |
| A query that returns result set. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Andrus Adamchik</DD> |
| </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>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#CACHE_POLICY_DEFAULT">CACHE_POLICY_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#CACHE_POLICY_PROPERTY">CACHE_POLICY_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#FETCH_LIMIT_DEFAULT">FETCH_LIMIT_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Defines default query fetch limit, which is zero, meaning that all matching rows |
| should be fetched.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#FETCH_LIMIT_PROPERTY">FETCH_LIMIT_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Defines the name of the property for the query <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getFetchLimit()"><CODE>fetch limit</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#FETCHING_DATA_ROWS_DEFAULT">FETCHING_DATA_ROWS_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#FETCHING_DATA_ROWS_PROPERTY">FETCHING_DATA_ROWS_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#LOCAL_CACHE">LOCAL_CACHE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> A cache policy ruling that query results shall be cached separately for each |
| DataContext.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#NO_CACHE">NO_CACHE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> A cache policy that disables caching of query results.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#PAGE_SIZE_DEFAULT">PAGE_SIZE_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Defines default query page size, which is zero for no pagination.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#PAGE_SIZE_PROPERTY">PAGE_SIZE_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Defines the name of the property for the query <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getPageSize()"><CODE>page size</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#REFRESHING_OBJECTS_DEFAULT">REFRESHING_OBJECTS_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#REFRESHING_OBJECTS_PROPERTY">REFRESHING_OBJECTS_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#RESOLVING_INHERITED_DEFAULT">RESOLVING_INHERITED_DEFAULT</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#RESOLVING_INHERITED_PROPERTY">RESOLVING_INHERITED_PROPERTY</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#SHARED_CACHE">SHARED_CACHE</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> A cache policy ruling that query results shall be stored in a shared cache |
| accessible by all DataContexts.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getCachePolicy()">getCachePolicy</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns query cache policy, which can be one of <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#NO_CACHE"><CODE>NO_CACHE</CODE></A>, |
| <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#LOCAL_CACHE"><CODE>LOCAL_CACHE</CODE></A>, or <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#SHARED_CACHE"><CODE>SHARED_CACHE</CODE></A>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getFetchLimit()">getFetchLimit</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns the limit on the maximium number of records that can be returned by this |
| query.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getPageSize()">getPageSize</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns query page size.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/cayenne/query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getPrefetchTree()">getPrefetchTree</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns a root node of prefetch tree used by this query, or null of no prefetches |
| are configured.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#isFetchingDataRows()">isFetchingDataRows</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns <code>true</code> if this query should produce a list of data rows as |
| opposed to DataObjects, <code>false</code> for DataObjects.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#isRefreshingObjects()">isRefreshingObjects</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns <code>true</code> if the query results should replace any currently |
| cached values, returns <code>false</code> otherwise.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#isResolvingInherited()">isResolvingInherited</A></B>()</CODE> |
| |
| <BR> |
| <B>Deprecated.</B> Returns true if objects fetched via this query should be fully resolved according |
| to the inheritance hierarchy.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.apache.cayenne.query.Query"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from interface org.apache.cayenne.query.<A HREF="../../../../org/apache/cayenne/query/Query.html" title="interface in org.apache.cayenne.query">Query</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/apache/cayenne/query/Query.html#createSQLAction(org.apache.cayenne.query.SQLActionVisitor)">createSQLAction</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#getMetaData(org.apache.cayenne.map.EntityResolver)">getMetaData</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#getName()">getName</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#getRoot()">getRoot</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#route(org.apache.cayenne.query.QueryRouter, org.apache.cayenne.map.EntityResolver, org.apache.cayenne.query.Query)">route</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../org/apache/cayenne/query/Query.html#setRoot(java.lang.Object)">setRoot</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <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="NO_CACHE"><!-- --></A><H3> |
| NO_CACHE</H3> |
| <PRE> |
| static final java.lang.String <B>NO_CACHE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>A cache policy that disables caching of query results. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.NO_CACHE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="LOCAL_CACHE"><!-- --></A><H3> |
| LOCAL_CACHE</H3> |
| <PRE> |
| static final java.lang.String <B>LOCAL_CACHE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>A cache policy ruling that query results shall be cached separately for each |
| DataContext. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.LOCAL_CACHE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="SHARED_CACHE"><!-- --></A><H3> |
| SHARED_CACHE</H3> |
| <PRE> |
| static final java.lang.String <B>SHARED_CACHE</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>A cache policy ruling that query results shall be stored in a shared cache |
| accessible by all DataContexts. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.SHARED_CACHE">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FETCH_LIMIT_PROPERTY"><!-- --></A><H3> |
| FETCH_LIMIT_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>FETCH_LIMIT_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Defines the name of the property for the query <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getFetchLimit()"><CODE>fetch limit</CODE></A>. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.FETCH_LIMIT_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FETCH_LIMIT_DEFAULT"><!-- --></A><H3> |
| FETCH_LIMIT_DEFAULT</H3> |
| <PRE> |
| static final int <B>FETCH_LIMIT_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Defines default query fetch limit, which is zero, meaning that all matching rows |
| should be fetched. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.FETCH_LIMIT_DEFAULT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PAGE_SIZE_PROPERTY"><!-- --></A><H3> |
| PAGE_SIZE_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>PAGE_SIZE_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Defines the name of the property for the query <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#getPageSize()"><CODE>page size</CODE></A>. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.PAGE_SIZE_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="PAGE_SIZE_DEFAULT"><!-- --></A><H3> |
| PAGE_SIZE_DEFAULT</H3> |
| <PRE> |
| static final int <B>PAGE_SIZE_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Defines default query page size, which is zero for no pagination. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.PAGE_SIZE_DEFAULT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FETCHING_DATA_ROWS_PROPERTY"><!-- --></A><H3> |
| FETCHING_DATA_ROWS_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>FETCHING_DATA_ROWS_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.FETCHING_DATA_ROWS_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="FETCHING_DATA_ROWS_DEFAULT"><!-- --></A><H3> |
| FETCHING_DATA_ROWS_DEFAULT</H3> |
| <PRE> |
| static final boolean <B>FETCHING_DATA_ROWS_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.FETCHING_DATA_ROWS_DEFAULT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="REFRESHING_OBJECTS_PROPERTY"><!-- --></A><H3> |
| REFRESHING_OBJECTS_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>REFRESHING_OBJECTS_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.REFRESHING_OBJECTS_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="REFRESHING_OBJECTS_DEFAULT"><!-- --></A><H3> |
| REFRESHING_OBJECTS_DEFAULT</H3> |
| <PRE> |
| static final boolean <B>REFRESHING_OBJECTS_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.REFRESHING_OBJECTS_DEFAULT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="RESOLVING_INHERITED_PROPERTY"><!-- --></A><H3> |
| RESOLVING_INHERITED_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>RESOLVING_INHERITED_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.RESOLVING_INHERITED_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="RESOLVING_INHERITED_DEFAULT"><!-- --></A><H3> |
| RESOLVING_INHERITED_DEFAULT</H3> |
| <PRE> |
| static final boolean <B>RESOLVING_INHERITED_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.RESOLVING_INHERITED_DEFAULT">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CACHE_POLICY_PROPERTY"><!-- --></A><H3> |
| CACHE_POLICY_PROPERTY</H3> |
| <PRE> |
| static final java.lang.String <B>CACHE_POLICY_PROPERTY</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.CACHE_POLICY_PROPERTY">Constant Field Values</A></DL> |
| </DL> |
| <HR> |
| |
| <A NAME="CACHE_POLICY_DEFAULT"><!-- --></A><H3> |
| CACHE_POLICY_DEFAULT</H3> |
| <PRE> |
| static final java.lang.String <B>CACHE_POLICY_DEFAULT</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.cayenne.query.GenericSelectQuery.CACHE_POLICY_DEFAULT">Constant Field Values</A></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="getCachePolicy()"><!-- --></A><H3> |
| getCachePolicy</H3> |
| <PRE> |
| java.lang.String <B>getCachePolicy</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns query cache policy, which can be one of <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#NO_CACHE"><CODE>NO_CACHE</CODE></A>, |
| <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#LOCAL_CACHE"><CODE>LOCAL_CACHE</CODE></A>, or <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#SHARED_CACHE"><CODE>SHARED_CACHE</CODE></A>. NO_CACHE is generally a default |
| policy. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isFetchingDataRows()"><!-- --></A><H3> |
| isFetchingDataRows</H3> |
| <PRE> |
| boolean <B>isFetchingDataRows</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns <code>true</code> if this query should produce a list of data rows as |
| opposed to DataObjects, <code>false</code> for DataObjects. This is a hint to |
| QueryEngine executing this query. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isRefreshingObjects()"><!-- --></A><H3> |
| isRefreshingObjects</H3> |
| <PRE> |
| boolean <B>isRefreshingObjects</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns <code>true</code> if the query results should replace any currently |
| cached values, returns <code>false</code> otherwise. If |
| <A HREF="../../../../org/apache/cayenne/query/GenericSelectQuery.html#isFetchingDataRows()"><CODE>isFetchingDataRows()</CODE></A>returns <code>true</code>, this setting is not |
| applicable and has no effect. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isResolvingInherited()"><!-- --></A><H3> |
| isResolvingInherited</H3> |
| <PRE> |
| boolean <B>isResolvingInherited</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns true if objects fetched via this query should be fully resolved according |
| to the inheritance hierarchy. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPageSize()"><!-- --></A><H3> |
| getPageSize</H3> |
| <PRE> |
| int <B>getPageSize</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns query page size. Page size is a hint to Cayenne that query should be |
| performed page by page, instead of retrieveing all results at once. If the value |
| returned is less than or equal to zero, no paging should occur. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFetchLimit()"><!-- --></A><H3> |
| getFetchLimit</H3> |
| <PRE> |
| int <B>getFetchLimit</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns the limit on the maximium number of records that can be returned by this |
| query. If the actual number of rows in the result exceeds the fetch limit, they |
| will be discarded. One possible use of fetch limit is using it as a safeguard |
| against large result sets that may lead to the application running out of memory, |
| etc. If a fetch limit is greater or equal to zero, all rows will be returned. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the limit on the maximium number of records that can be returned by this |
| query</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPrefetchTree()"><!-- --></A><H3> |
| getPrefetchTree</H3> |
| <PRE> |
| <A HREF="../../../../org/apache/cayenne/query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</A> <B>getPrefetchTree</B>()</PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <DD>Returns a root node of prefetch tree used by this query, or null of no prefetches |
| are configured. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| </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-files/index-1.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> |
| </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="../../../../org/apache/cayenne/query/DeleteQuery.html" title="class in org.apache.cayenne.query"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/query/IndirectQuery.html" title="class in org.apache.cayenne.query"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/query/GenericSelectQuery.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="GenericSelectQuery.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| <i>Copyright © 2001-2006 <a href= |
| "http://apache.org" target="_top">Apache.org</a> All Rights Reserved.</i> |
| |
| </BODY> |
| </HTML> |