blob: 85eea0e96443613a06c72b4305a11a82ab7ab2f3 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Mon Dec 05 10:27:04 MSK 2022 -->
<title>PrefetchSelectQuery (cayenne-doc: Cayenne Documentation 4.2.RC2 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-12-05">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PrefetchSelectQuery (cayenne-doc: Cayenne Documentation 4.2.RC2 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PrefetchSelectQuery.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.cayenne.query</a></div>
<h2 title="Class PrefetchSelectQuery" class="title">Class PrefetchSelectQuery&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="CacheableQuery.html" title="class in org.apache.cayenne.query">org.apache.cayenne.query.CacheableQuery</a></li>
<li>
<ul class="inheritance">
<li><a href="AbstractQuery.html" title="class in org.apache.cayenne.query">org.apache.cayenne.query.AbstractQuery</a></li>
<li>
<ul class="inheritance">
<li><a href="FluentSelect.html" title="class in org.apache.cayenne.query">org.apache.cayenne.query.FluentSelect</a>&lt;T&gt;</li>
<li>
<ul class="inheritance">
<li><a href="ObjectSelect.html" title="class in org.apache.cayenne.query">org.apache.cayenne.query.ObjectSelect</a>&lt;T&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.cayenne.query.PrefetchSelectQuery&lt;T&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="ParameterizedQuery.html" title="interface in org.apache.cayenne.query">ParameterizedQuery</a></code>, <code><a href="Query.html" title="interface in org.apache.cayenne.query">Query</a></code>, <code><a href="Select.html" title="interface in org.apache.cayenne.query">Select</a>&lt;T&gt;</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">PrefetchSelectQuery&lt;T&gt;</span>
extends <a href="ObjectSelect.html" title="class in org.apache.cayenne.query">ObjectSelect</a>&lt;T&gt;</pre>
<div class="block">A SelectQuery to perform a prefetch based on another query. Used internally by Cayenne
and is normally never used directly.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2 this query extends <a href="ObjectSelect.html" title="class in org.apache.cayenne.query"><code>ObjectSelect</code></a> as part of the deprecation of the <a href="SelectQuery.html" title="class in org.apache.cayenne.query"><code>SelectQuery</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.cayenne.query.PrefetchSelectQuery">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lastPrefetchHint">lastPrefetchHint</a></span></code></th>
<td class="colLast">
<div class="block">Stores the last ObjRelationship in the prefetch path.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#prefetchPath">prefetchPath</a></span></code></th>
<td class="colLast">
<div class="block">The relationship path from root objects to the objects being prefetched.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resultPaths">resultPaths</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.query.ObjectSelect">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.query.<a href="ObjectSelect.html" title="class in org.apache.cayenne.query">ObjectSelect</a></h3>
<code><a href="ObjectSelect.html#metaData">metaData</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.query.FluentSelect">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.query.<a href="FluentSelect.html" title="class in org.apache.cayenne.query">FluentSelect</a></h3>
<code><a href="FluentSelect.html#dbEntityName">dbEntityName</a>, <a href="FluentSelect.html#entityName">entityName</a>, <a href="FluentSelect.html#entityType">entityType</a>, <a href="FluentSelect.html#having">having</a>, <a href="FluentSelect.html#orderings">orderings</a>, <a href="FluentSelect.html#where">where</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.query.AbstractQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.query.<a href="AbstractQuery.html" title="class in org.apache.cayenne.query">AbstractQuery</a></h3>
<code><a href="AbstractQuery.html#root">root</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.cayenne.query.CacheableQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.cayenne.query.<a href="CacheableQuery.html" title="class in org.apache.cayenne.query">CacheableQuery</a></h3>
<code><a href="CacheableQuery.html#logger">logger</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,org.apache.cayenne.map.ObjRelationship)">PrefetchSelectQuery</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prefetchPath,
<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a>&nbsp;lastPrefetchHint)</code></th>
<td class="colLast">
<div class="block">Creates a new disjoint prefetch select query.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addResultPath(java.lang.String)">addResultPath</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path)</code></th>
<td class="colLast">
<div class="block">Configures an "extra" path that will resolve to an extra column (or columns) in the
result set.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastPrefetchHint()">getLastPrefetchHint</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns last incoming ObjRelationship in the prefetch relationship chain.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPrefetchPath()">getPrefetchPath</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the prefetchPath.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getResultPaths()">getResultPaths</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns extra result paths.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeResultPath(java.lang.String)">removeResultPath</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path)</code></th>
<td class="colLast">
<div class="block">Removes an extra result path.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#routePrefetches(org.apache.cayenne.query.QueryRouter,org.apache.cayenne.map.EntityResolver)">routePrefetches</a></span>&#8203;(<a href="QueryRouter.html" title="interface in org.apache.cayenne.query">QueryRouter</a>&nbsp;router,
<a href="../map/EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a>&nbsp;resolver)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLastPrefetchHint(org.apache.cayenne.map.ObjRelationship)">setLastPrefetchHint</a></span>&#8203;(<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a>&nbsp;relationship)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPrefetchPath(java.lang.String)">setPrefetchPath</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prefetchPath)</code></th>
<td class="colLast">
<div class="block">Sets the prefetchPath.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPrefetchTree(org.apache.cayenne.query.PrefetchTreeNode)">setPrefetchTree</a></span>&#8203;(<a href="PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a>&nbsp;prefetch)</code></th>
<td class="colLast">
<div class="block">Clean set of the prefetch tree without any merge with existing nodes.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.query.ObjectSelect">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.query.<a href="ObjectSelect.html" title="class in org.apache.cayenne.query">ObjectSelect</a></h3>
<code><a href="ObjectSelect.html#and(java.util.Collection)">and</a>, <a href="ObjectSelect.html#and(org.apache.cayenne.exp.Expression...)">and</a>, <a href="ObjectSelect.html#avg(org.apache.cayenne.exp.property.NumericProperty)">avg</a>, <a href="ObjectSelect.html#avg(org.apache.cayenne.exp.Property)">avg</a>, <a href="ObjectSelect.html#cacheGroup(java.lang.String)">cacheGroup</a>, <a href="ObjectSelect.html#cacheStrategy(org.apache.cayenne.query.QueryCacheStrategy)">cacheStrategy</a>, <a href="ObjectSelect.html#cacheStrategy(org.apache.cayenne.query.QueryCacheStrategy,java.lang.String)">cacheStrategy</a>, <a href="ObjectSelect.html#column(org.apache.cayenne.exp.property.Property)">column</a>, <a href="ObjectSelect.html#columnQuery(java.lang.Class,org.apache.cayenne.exp.property.Property...)">columnQuery</a>, <a href="ObjectSelect.html#columnQuery(java.lang.Class,org.apache.cayenne.exp.property.Property)">columnQuery</a>, <a href="ObjectSelect.html#columns(org.apache.cayenne.exp.property.Property...)">columns</a>, <a href="ObjectSelect.html#count()">count</a>, <a href="ObjectSelect.html#count(org.apache.cayenne.exp.property.BaseProperty)">count</a>, <a href="ObjectSelect.html#createQuery(java.util.Map)">createQuery</a>, <a href="ObjectSelect.html#dataRowQuery(java.lang.Class)">dataRowQuery</a>, <a href="ObjectSelect.html#dataRowQuery(java.lang.Class,org.apache.cayenne.exp.Expression)">dataRowQuery</a>, <a href="ObjectSelect.html#dbEntityName(java.lang.String)">dbEntityName</a>, <a href="ObjectSelect.html#dbQuery(java.lang.String)">dbQuery</a>, <a href="ObjectSelect.html#dbQuery(java.lang.String,org.apache.cayenne.exp.Expression)">dbQuery</a>, <a href="ObjectSelect.html#distinct()">distinct</a>, <a href="ObjectSelect.html#entityName(java.lang.String)">entityName</a>, <a href="ObjectSelect.html#entityType(java.lang.Class)">entityType</a>, <a href="ObjectSelect.html#fetchDataRows()">fetchDataRows</a>, <a href="ObjectSelect.html#getBaseMetaData()">getBaseMetaData</a>, <a href="ObjectSelect.html#getMetaData(org.apache.cayenne.map.EntityResolver)">getMetaData</a>, <a href="ObjectSelect.html#having(java.lang.String,java.lang.Object...)">having</a>, <a href="ObjectSelect.html#having(org.apache.cayenne.exp.Expression)">having</a>, <a href="ObjectSelect.html#isFetchingDataRows()">isFetchingDataRows</a>, <a href="ObjectSelect.html#limit(int)">limit</a>, <a href="ObjectSelect.html#localCache()">localCache</a>, <a href="ObjectSelect.html#localCache(java.lang.String)">localCache</a>, <a href="ObjectSelect.html#max(org.apache.cayenne.exp.property.ComparableProperty)">max</a>, <a href="ObjectSelect.html#max(org.apache.cayenne.exp.property.NumericProperty)">max</a>, <a href="ObjectSelect.html#min(org.apache.cayenne.exp.property.ComparableProperty)">min</a>, <a href="ObjectSelect.html#min(org.apache.cayenne.exp.property.NumericProperty)">min</a>, <a href="ObjectSelect.html#offset(int)">offset</a>, <a href="ObjectSelect.html#or(java.util.Collection)">or</a>, <a href="ObjectSelect.html#or(org.apache.cayenne.exp.Expression...)">or</a>, <a href="ObjectSelect.html#orderBy(java.lang.String)">orderBy</a>, <a href="ObjectSelect.html#orderBy(java.lang.String,org.apache.cayenne.query.SortOrder)">orderBy</a>, <a href="ObjectSelect.html#orderBy(java.util.Collection)">orderBy</a>, <a href="ObjectSelect.html#orderBy(org.apache.cayenne.query.Ordering...)">orderBy</a>, <a href="ObjectSelect.html#pageSize(int)">pageSize</a>, <a href="ObjectSelect.html#prefetch(java.lang.String,int)">prefetch</a>, <a href="ObjectSelect.html#prefetch(org.apache.cayenne.query.PrefetchTreeNode)">prefetch</a>, <a href="ObjectSelect.html#query(java.lang.Class)">query</a>, <a href="ObjectSelect.html#query(java.lang.Class,java.lang.String)">query</a>, <a href="ObjectSelect.html#query(java.lang.Class,org.apache.cayenne.exp.Expression)">query</a>, <a href="ObjectSelect.html#query(java.lang.Class,org.apache.cayenne.exp.Expression,java.util.List)">query</a>, <a href="ObjectSelect.html#queryTimeout(int)">queryTimeout</a>, <a href="ObjectSelect.html#selectCount(org.apache.cayenne.ObjectContext)">selectCount</a>, <a href="ObjectSelect.html#selectFirst(org.apache.cayenne.ObjectContext)">selectFirst</a>, <a href="ObjectSelect.html#sharedCache()">sharedCache</a>, <a href="ObjectSelect.html#sharedCache(java.lang.String)">sharedCache</a>, <a href="ObjectSelect.html#statementFetchSize(int)">statementFetchSize</a>, <a href="ObjectSelect.html#sum(org.apache.cayenne.exp.property.NumericProperty)">sum</a>, <a href="ObjectSelect.html#sum(org.apache.cayenne.exp.Property)">sum</a>, <a href="ObjectSelect.html#where(java.lang.String,java.lang.Object...)">where</a>, <a href="ObjectSelect.html#where(org.apache.cayenne.exp.Expression)">where</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.query.FluentSelect">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.query.<a href="FluentSelect.html" title="class in org.apache.cayenne.query">FluentSelect</a></h3>
<code><a href="FluentSelect.html#batchIterator(org.apache.cayenne.ObjectContext,int)">batchIterator</a>, <a href="FluentSelect.html#createSQLAction(org.apache.cayenne.query.SQLActionVisitor)">createSQLAction</a>, <a href="FluentSelect.html#getColumns()">getColumns</a>, <a href="FluentSelect.html#getDbEntityName()">getDbEntityName</a>, <a href="FluentSelect.html#getEntityName()">getEntityName</a>, <a href="FluentSelect.html#getEntityType()">getEntityType</a>, <a href="FluentSelect.html#getHaving()">getHaving</a>, <a href="FluentSelect.html#getLimit()">getLimit</a>, <a href="FluentSelect.html#getOffset()">getOffset</a>, <a href="FluentSelect.html#getOrderings()">getOrderings</a>, <a href="FluentSelect.html#getPageSize()">getPageSize</a>, <a href="FluentSelect.html#getPrefetches()">getPrefetches</a>, <a href="FluentSelect.html#getQueryTimeout()">getQueryTimeout</a>, <a href="FluentSelect.html#getStatementFetchSize()">getStatementFetchSize</a>, <a href="FluentSelect.html#getWhere()">getWhere</a>, <a href="FluentSelect.html#initWithProperties(java.util.Map)">initWithProperties</a>, <a href="FluentSelect.html#isDistinct()">isDistinct</a>, <a href="FluentSelect.html#iterate(org.apache.cayenne.ObjectContext,org.apache.cayenne.ResultIteratorCallback)">iterate</a>, <a href="FluentSelect.html#iterator(org.apache.cayenne.ObjectContext)">iterator</a>, <a href="FluentSelect.html#resolveRoot(org.apache.cayenne.map.EntityResolver)">resolveRoot</a>, <a href="FluentSelect.html#route(org.apache.cayenne.query.QueryRouter,org.apache.cayenne.map.EntityResolver,org.apache.cayenne.query.Query)">route</a>, <a href="FluentSelect.html#select(org.apache.cayenne.ObjectContext)">select</a>, <a href="FluentSelect.html#selectOne(org.apache.cayenne.ObjectContext)">selectOne</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.query.AbstractQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.query.<a href="AbstractQuery.html" title="class in org.apache.cayenne.query">AbstractQuery</a></h3>
<code><a href="AbstractQuery.html#getRoot()">getRoot</a>, <a href="AbstractQuery.html#setRoot(java.lang.Object)">setRoot</a>, <a href="AbstractQuery.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.query.CacheableQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.cayenne.query.<a href="CacheableQuery.html" title="class in org.apache.cayenne.query">CacheableQuery</a></h3>
<code><a href="CacheableQuery.html#getCacheGroup()">getCacheGroup</a>, <a href="CacheableQuery.html#getCacheStrategy()">getCacheStrategy</a>, <a href="CacheableQuery.html#setCacheGroup(java.lang.String)">setCacheGroup</a>, <a href="CacheableQuery.html#setCacheStrategy(org.apache.cayenne.query.QueryCacheStrategy)">setCacheStrategy</a>, <a href="CacheableQuery.html#useLocalCache()">useLocalCache</a>, <a href="CacheableQuery.html#useLocalCache(java.lang.String)">useLocalCache</a>, <a href="CacheableQuery.html#useSharedCache()">useSharedCache</a>, <a href="CacheableQuery.html#useSharedCache(java.lang.String)">useSharedCache</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.cayenne.query.Query">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.cayenne.query.<a href="Query.html" title="interface in org.apache.cayenne.query">Query</a></h3>
<code><a href="Query.html#createSQLAction(org.apache.cayenne.query.SQLActionVisitor)">createSQLAction</a>, <a href="Query.html#route(org.apache.cayenne.query.QueryRouter,org.apache.cayenne.map.EntityResolver,org.apache.cayenne.query.Query)">route</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="prefetchPath">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>prefetchPath</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> prefetchPath</pre>
<div class="block">The relationship path from root objects to the objects being prefetched.</div>
</li>
</ul>
<a id="lastPrefetchHint">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lastPrefetchHint</h4>
<pre>protected&nbsp;<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a> lastPrefetchHint</pre>
<div class="block">Stores the last ObjRelationship in the prefetch path.</div>
</li>
</ul>
<a id="resultPaths">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>resultPaths</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt; resultPaths</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String,org.apache.cayenne.map.ObjRelationship)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PrefetchSelectQuery</h4>
<pre>public&nbsp;PrefetchSelectQuery&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prefetchPath,
<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a>&nbsp;lastPrefetchHint)</pre>
<div class="block">Creates a new disjoint prefetch select query.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>3.1</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="routePrefetches(org.apache.cayenne.query.QueryRouter,org.apache.cayenne.map.EntityResolver)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>routePrefetches</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;routePrefetches&#8203;(<a href="QueryRouter.html" title="interface in org.apache.cayenne.query">QueryRouter</a>&nbsp;router,
<a href="../map/EntityResolver.html" title="class in org.apache.cayenne.map">EntityResolver</a>&nbsp;resolver)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="FluentSelect.html#routePrefetches(org.apache.cayenne.query.QueryRouter,org.apache.cayenne.map.EntityResolver)">routePrefetches</a></code>&nbsp;in class&nbsp;<code><a href="FluentSelect.html" title="class in org.apache.cayenne.query">FluentSelect</a>&lt;<a href="PrefetchSelectQuery.html" title="type parameter in PrefetchSelectQuery">T</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a id="getPrefetchPath()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrefetchPath</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getPrefetchPath()</pre>
<div class="block">Returns the prefetchPath.</div>
</li>
</ul>
<a id="setPrefetchPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrefetchPath</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setPrefetchPath&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;prefetchPath)</pre>
<div class="block">Sets the prefetchPath.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefetchPath</code> - The prefetchPath to set</dd>
</dl>
</li>
</ul>
<a id="setPrefetchTree(org.apache.cayenne.query.PrefetchTreeNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrefetchTree</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setPrefetchTree&#8203;(<a href="PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a>&nbsp;prefetch)</pre>
<div class="block">Clean set of the prefetch tree without any merge with existing nodes.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>prefetch</code> - prefetch tree</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.2</dd>
</dl>
</li>
</ul>
<a id="getLastPrefetchHint()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastPrefetchHint</h4>
<pre class="methodSignature">public&nbsp;<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a>&nbsp;getLastPrefetchHint()</pre>
<div class="block">Returns last incoming ObjRelationship in the prefetch relationship chain.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
<a id="setLastPrefetchHint(org.apache.cayenne.map.ObjRelationship)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLastPrefetchHint</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setLastPrefetchHint&#8203;(<a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a>&nbsp;relationship)</pre>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
<a id="addResultPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addResultPath</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addResultPath&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path)</pre>
<div class="block">Configures an "extra" path that will resolve to an extra column (or columns) in the
result set.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - A valid path expression. E.g. "abc" or "db:ABC" or "abc.xyz".</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.2</dd>
</dl>
</li>
</ul>
<a id="removeResultPath(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeResultPath</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;removeResultPath&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;path)</pre>
<div class="block">Removes an extra result path. Note that this method doesn't check for expression
invariants, as it doesn't have a proper context to do so. E.g. for the purpose of
this method "db:ARTIST_NAME" and "obj:artistName" are not the same, though both
will resolve to the same column name.</div>
</li>
</ul>
<a id="getResultPaths()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getResultPaths</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;getResultPaths()</pre>
<div class="block">Returns extra result paths.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.2</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PrefetchSelectQuery.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2022 <a href="https://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</footer>
</body>
</html>