blob: deacdbe965d5b5a6cfbb0655f5534352961de114 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_121) on Fri Jan 06 19:36:27 UTC 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>QueryContext (OpenJPA Parent POM 2.4.2 API)</title>
<meta name="date" content="2017-01-06">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="QueryContext (OpenJPA Parent POM 2.4.2 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/QueryContext.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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/openjpa/kernel/QueryFlushModes.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/openjpa/kernel/QueryContext.html" target="_top">Frames</a></li>
<li><a href="QueryContext.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.openjpa.kernel</div>
<h2 title="Interface QueryContext" class="title">Interface QueryContext</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../org/apache/openjpa/kernel/DelegatingQuery.html" title="class in org.apache.openjpa.kernel">DelegatingQuery</a>, <a href="../../../../org/apache/openjpa/slice/DistributedQueryImpl.html" title="class in org.apache.openjpa.slice">DistributedQueryImpl</a>, <a href="../../../../org/apache/openjpa/kernel/QueryImpl.html" title="class in org.apache.openjpa.kernel">QueryImpl</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">QueryContext</span></pre>
<div class="block">A query execution context.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.4.0</dd>
<dt><span class="strong">Author:</span></dt>
<dd>Abe White</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#classForName(java.lang.String,%20java.lang.String[])">classForName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;imports)</code>
<div class="block">Helper method to instantiate the class with the given name, taking
into account the query's candidate package, automatic imports, and
the given imports (if any).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#declareParameters(java.lang.String)">declareParameters</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;params)</code>
<div class="block">Declared parameters, for query languages that use them.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#deleteInMemory(org.apache.openjpa.kernel.StoreQuery,%20org.apache.openjpa.kernel.StoreQuery.Executor,%20java.lang.Object[])">deleteInMemory</a></strong>(<a href="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a>&nbsp;q,
<a href="../../../../org/apache/openjpa/kernel/StoreQuery.Executor.html" title="interface in org.apache.openjpa.kernel">StoreQuery.Executor</a>&nbsp;ex,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;params)</code>
<div class="block">Helper method to delete the objects found by executing a query on
the given executor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getAccessPathMetaDatas()">getAccessPathMetaDatas</a></strong>()</code>
<div class="block">Return the classes that affect this query.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getAggregateListener(java.lang.String)">getAggregateListener</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</code>
<div class="block">Return the filter listener for the given tag, or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getAggregateListeners()">getAggregateListeners</a></strong>()</code>
<div class="block">The set of aggregate listeners.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getAlias()">getAlias</a></strong>()</code>
<div class="block">If this query is not a projection but places candidate results into a
result class under an alias, return that alias.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getCandidateCollection()">getCandidateCollection</a></strong>()</code>
<div class="block">Return the candidate collection, or <code>null</code> if an
extent was specified instead of a collection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getCandidateType()">getCandidateType</a></strong>()</code>
<div class="block">Return the class of the objects that this query will return,
or <code>null</code> if this information is not available / not relevant.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getCompilation()">getCompilation</a></strong>()</code>
<div class="block">Return the query's compilation state.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getEndRange()">getEndRange</a></strong>()</code>
<div class="block">Return the 0-based exclusive end index for the returned results,
or <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a> for no limit.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getFetchConfiguration()">getFetchConfiguration</a></strong>()</code>
<div class="block">Return the fetch configuration for this query.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getFilterListener(java.lang.String)">getFilterListener</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</code>
<div class="block">Return the filter listener for the given tag, or null.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getFilterListeners()">getFilterListeners</a></strong>()</code>
<div class="block">The set of filter listeners.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getIgnoreChanges()">getIgnoreChanges</a></strong>()</code>
<div class="block">Whether to ignore changes in the current transaction.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getLanguage()">getLanguage</a></strong>()</code>
<div class="block">The query language.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getOperation()">getOperation</a></strong>()</code>
<div class="block">Returns the operation that this query will be expected to perform.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/lib/util/OrderedMap.html" title="class in org.apache.openjpa.lib.util">OrderedMap</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getOrderedParameterTypes()">getOrderedParameterTypes</a></strong>()</code>
<div class="block">Return a map of parameter name to type for this query.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getParameterDeclaration()">getParameterDeclaration</a></strong>()</code>
<div class="block">The parameter declaration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.commons.collections.map.LinkedMap</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getParameterTypes()">getParameterTypes</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getProjectionAliases()">getProjectionAliases</a></strong>()</code>
<div class="block">If this query is a projection, return the projection aliases.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getProjectionTypes()">getProjectionTypes</a></strong>()</code>
<div class="block">If this query is a projection, return the projection types.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getQuery()">getQuery</a></strong>()</code>
<div class="block">Return the query for this context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getQueryString()">getQueryString</a></strong>()</code>
<div class="block">The query string.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getResultMappingName()">getResultMappingName</a></strong>()</code>
<div class="block">Name of a mapping from the result data to its object representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getResultMappingScope()">getResultMappingScope</a></strong>()</code>
<div class="block">Scope of a mapping from the result data to its object representation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getResultType()">getResultType</a></strong>()</code>
<div class="block">Returns the result class that has been set through
<a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setResultType(java.lang.Class)"><code>setResultType(java.lang.Class&lt;?&gt;)</code></a>, or null if none.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getStartRange()">getStartRange</a></strong>()</code>
<div class="block">Return the 0-based start index for the returned results.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getStoreContext()">getStoreContext</a></strong>()</code>
<div class="block">The persistence context for the query.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</a>,<a href="../../../../org/apache/openjpa/kernel/exps/Value.html" title="interface in org.apache.openjpa.kernel.exps">Value</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#getUpdates()">getUpdates</a></strong>()</code>
<div class="block">If this query is a bulk update, return a map of the
<a href="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta"><code>FieldMetaData</code></a>s to <a href="../../../../org/apache/openjpa/kernel/exps/Constant.html" title="interface in org.apache.openjpa.kernel.exps"><code>Constant</code></a>s.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#hasGrouping()">hasGrouping</a></strong>()</code>
<div class="block">Return true if the query uses grouping.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#hasSubclasses()">hasSubclasses</a></strong>()</code>
<div class="block">Whether query results will include subclasses of the candidate class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#isAggregate()">isAggregate</a></strong>()</code>
<div class="block">Return true if the query is an aggregate.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#isDistinct()">isDistinct</a></strong>()</code>
<div class="block">Affirms if this query results are distinct instance(s).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#isReadOnly()">isReadOnly</a></strong>()</code>
<div class="block">Whether the query has been marked read-only.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#isUnique()">isUnique</a></strong>()</code>
<div class="block">The unique flag.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#lock()">lock</a></strong>()</code>
<div class="block">Synchronize on the query's internal lock.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setCandidateType(java.lang.Class,%20boolean)">setCandidateType</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
boolean&nbsp;subs)</code>
<div class="block">Set the candidate type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setRange(long,%20long)">setRange</a></strong>(long&nbsp;start,
long&nbsp;end)</code>
<div class="block">Set the range of results to return.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setReadOnly(boolean)">setReadOnly</a></strong>(boolean&nbsp;readOnly)</code>
<div class="block">Whether the query has been marked read-only.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setResultMapping(java.lang.Class,%20java.lang.String)">setResultMapping</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;scope,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Name and scope of a mapping from the result data to its object
representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setResultType(java.lang.Class)">setResultType</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Specify the type of object in which the result of evaluating this query.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setUnique(boolean)">setUnique</a></strong>(boolean&nbsp;unique)</code>
<div class="block">Specify that the query will return only 1
result, rather than a collection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#unlock()">unlock</a></strong>()</code>
<div class="block">Unlock the query's internal lock.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/openjpa/kernel/QueryContext.html#updateInMemory(org.apache.openjpa.kernel.StoreQuery,%20org.apache.openjpa.kernel.StoreQuery.Executor,%20java.lang.Object[])">updateInMemory</a></strong>(<a href="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a>&nbsp;q,
<a href="../../../../org/apache/openjpa/kernel/StoreQuery.Executor.html" title="interface in org.apache.openjpa.kernel">StoreQuery.Executor</a>&nbsp;ex,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;params)</code>
<div class="block">Helper method to update the objects found by executing a query on
the given executor.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getQuery()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQuery</h4>
<pre><a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel">Query</a>&nbsp;getQuery()</pre>
<div class="block">Return the query for this context. Note that the query will be
unavailable in remote contexts, and this method may throw an exception
to that effect.</div>
</li>
</ul>
<a name="getStoreContext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStoreContext</h4>
<pre><a href="../../../../org/apache/openjpa/kernel/StoreContext.html" title="interface in org.apache.openjpa.kernel">StoreContext</a>&nbsp;getStoreContext()</pre>
<div class="block">The persistence context for the query.</div>
</li>
</ul>
<a name="getFetchConfiguration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchConfiguration</h4>
<pre><a href="../../../../org/apache/openjpa/kernel/FetchConfiguration.html" title="interface in org.apache.openjpa.kernel">FetchConfiguration</a>&nbsp;getFetchConfiguration()</pre>
<div class="block">Return the fetch configuration for this query.</div>
</li>
</ul>
<a name="getOperation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperation</h4>
<pre>int&nbsp;getOperation()</pre>
<div class="block">Returns the operation that this query will be expected to perform.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.4.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/openjpa/kernel/QueryOperations.html" title="interface in org.apache.openjpa.kernel"><code>QueryOperations</code></a></dd></dl>
</li>
</ul>
<a name="getLanguage()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLanguage</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLanguage()</pre>
<div class="block">The query language.</div>
</li>
</ul>
<a name="getQueryString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryString</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getQueryString()</pre>
<div class="block">The query string.</div>
</li>
</ul>
<a name="getCandidateCollection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCandidateCollection</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;?&gt;&nbsp;getCandidateCollection()</pre>
<div class="block">Return the candidate collection, or <code>null</code> if an
extent was specified instead of a collection.</div>
</li>
</ul>
<a name="getCandidateType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCandidateType</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getCandidateType()</pre>
<div class="block">Return the class of the objects that this query will return,
or <code>null</code> if this information is not available / not relevant.</div>
</li>
</ul>
<a name="hasSubclasses()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasSubclasses</h4>
<pre>boolean&nbsp;hasSubclasses()</pre>
<div class="block">Whether query results will include subclasses of the candidate class.</div>
</li>
</ul>
<a name="setCandidateType(java.lang.Class, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCandidateType</h4>
<pre>void&nbsp;setCandidateType(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
boolean&nbsp;subs)</pre>
<div class="block">Set the candidate type.</div>
</li>
</ul>
<a name="isReadOnly()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadOnly</h4>
<pre>boolean&nbsp;isReadOnly()</pre>
<div class="block">Whether the query has been marked read-only.</div>
</li>
</ul>
<a name="setReadOnly(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setReadOnly</h4>
<pre>void&nbsp;setReadOnly(boolean&nbsp;readOnly)</pre>
<div class="block">Whether the query has been marked read-only.</div>
</li>
</ul>
<a name="isUnique()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUnique</h4>
<pre>boolean&nbsp;isUnique()</pre>
<div class="block">The unique flag.</div>
</li>
</ul>
<a name="setUnique(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnique</h4>
<pre>void&nbsp;setUnique(boolean&nbsp;unique)</pre>
<div class="block">Specify that the query will return only 1
result, rather than a collection. The execute method will return null
if the query result size is 0.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.3.0</dd></dl>
</li>
</ul>
<a name="isDistinct()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDistinct</h4>
<pre>boolean&nbsp;isDistinct()</pre>
<div class="block">Affirms if this query results are distinct instance(s).</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>2.0.0</dd></dl>
</li>
</ul>
<a name="getResultMappingScope()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultMappingScope</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getResultMappingScope()</pre>
<div class="block">Scope of a mapping from the result data to its object representation.</div>
</li>
</ul>
<a name="getResultMappingName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultMappingName</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getResultMappingName()</pre>
<div class="block">Name of a mapping from the result data to its object representation.</div>
</li>
</ul>
<a name="setResultMapping(java.lang.Class, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResultMapping</h4>
<pre>void&nbsp;setResultMapping(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;scope,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Name and scope of a mapping from the result data to its object
representation.</div>
</li>
</ul>
<a name="getResultType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultType</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getResultType()</pre>
<div class="block">Returns the result class that has been set through
<a href="../../../../org/apache/openjpa/kernel/QueryContext.html#setResultType(java.lang.Class)"><code>setResultType(java.lang.Class&lt;?&gt;)</code></a>, or null if none.</div>
</li>
</ul>
<a name="setResultType(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setResultType</h4>
<pre>void&nbsp;setResultType(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block">Specify the type of object in which the result of evaluating this query.</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.3.0</dd></dl>
</li>
</ul>
<a name="getStartRange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStartRange</h4>
<pre>long&nbsp;getStartRange()</pre>
<div class="block">Return the 0-based start index for the returned results.</div>
</li>
</ul>
<a name="getEndRange()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndRange</h4>
<pre>long&nbsp;getEndRange()</pre>
<div class="block">Return the 0-based exclusive end index for the returned results,
or <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a> for no limit.</div>
</li>
</ul>
<a name="setRange(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRange</h4>
<pre>void&nbsp;setRange(long&nbsp;start,
long&nbsp;end)</pre>
<div class="block">Set the range of results to return.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - 0-based inclusive start index</dd><dd><code>end</code> - 0-based exclusive end index, or
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Long.MAX_VALUE</code></a> for no limit</dd><dt><span class="strong">Since:</span></dt>
<dd>0.3.2</dd></dl>
</li>
</ul>
<a name="getParameterDeclaration()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameterDeclaration</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getParameterDeclaration()</pre>
<div class="block">The parameter declaration.</div>
</li>
</ul>
<a name="declareParameters(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>declareParameters</h4>
<pre>void&nbsp;declareParameters(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;params)</pre>
<div class="block">Declared parameters, for query languages that use them.</div>
</li>
</ul>
<a name="getOrderedParameterTypes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderedParameterTypes</h4>
<pre><a href="../../../../org/apache/openjpa/lib/util/OrderedMap.html" title="class in org.apache.openjpa.lib.util">OrderedMap</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;getOrderedParameterTypes()</pre>
<div class="block">Return a map of parameter name to type for this query. The returned
map will iterate in the order that the parameters were declared or,
if they're implicit, used.</div>
</li>
</ul>
<a name="getParameterTypes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParameterTypes</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
org.apache.commons.collections.map.LinkedMap&nbsp;getParameterTypes()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Return a map of parameter name to type for this query. The returned
map will iterate in the order that the parameters were declared or,
if they're implicit, used.</div>
</li>
</ul>
<a name="getUpdates()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdates</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta">FieldMetaData</a>,<a href="../../../../org/apache/openjpa/kernel/exps/Value.html" title="interface in org.apache.openjpa.kernel.exps">Value</a>&gt;&nbsp;getUpdates()</pre>
<div class="block">If this query is a bulk update, return a map of the
<a href="../../../../org/apache/openjpa/meta/FieldMetaData.html" title="class in org.apache.openjpa.meta"><code>FieldMetaData</code></a>s to <a href="../../../../org/apache/openjpa/kernel/exps/Constant.html" title="interface in org.apache.openjpa.kernel.exps"><code>Constant</code></a>s.</div>
</li>
</ul>
<a name="getIgnoreChanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIgnoreChanges</h4>
<pre>boolean&nbsp;getIgnoreChanges()</pre>
<div class="block">Whether to ignore changes in the current transaction.</div>
</li>
</ul>
<a name="getCompilation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompilation</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getCompilation()</pre>
<div class="block">Return the query's compilation state.</div>
</li>
</ul>
<a name="getAlias()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAlias</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getAlias()</pre>
<div class="block">If this query is not a projection but places candidate results into a
result class under an alias, return that alias.</div>
</li>
</ul>
<a name="getProjectionAliases()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProjectionAliases</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;getProjectionAliases()</pre>
<div class="block">If this query is a projection, return the projection aliases.</div>
</li>
</ul>
<a name="getProjectionTypes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProjectionTypes</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;getProjectionTypes()</pre>
<div class="block">If this query is a projection, return the projection types.</div>
</li>
</ul>
<a name="isAggregate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAggregate</h4>
<pre>boolean&nbsp;isAggregate()</pre>
<div class="block">Return true if the query is an aggregate.</div>
</li>
</ul>
<a name="hasGrouping()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasGrouping</h4>
<pre>boolean&nbsp;hasGrouping()</pre>
<div class="block">Return true if the query uses grouping.</div>
</li>
</ul>
<a name="getAccessPathMetaDatas()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAccessPathMetaDatas</h4>
<pre><a href="../../../../org/apache/openjpa/meta/ClassMetaData.html" title="class in org.apache.openjpa.meta">ClassMetaData</a>[]&nbsp;getAccessPathMetaDatas()</pre>
<div class="block">Return the classes that affect this query.</div>
</li>
</ul>
<a name="getFilterListener(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFilterListener</h4>
<pre><a href="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</a>&nbsp;getFilterListener(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</pre>
<div class="block">Return the filter listener for the given tag, or null.</div>
</li>
</ul>
<a name="getAggregateListener(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAggregateListener</h4>
<pre><a href="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</a>&nbsp;getAggregateListener(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;tag)</pre>
<div class="block">Return the filter listener for the given tag, or null.</div>
</li>
</ul>
<a name="getFilterListeners()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFilterListeners</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/openjpa/kernel/exps/FilterListener.html" title="interface in org.apache.openjpa.kernel.exps">FilterListener</a>&gt;&nbsp;getFilterListeners()</pre>
<div class="block">The set of filter listeners.</div>
</li>
</ul>
<a name="getAggregateListeners()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAggregateListeners</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../org/apache/openjpa/kernel/exps/AggregateListener.html" title="interface in org.apache.openjpa.kernel.exps">AggregateListener</a>&gt;&nbsp;getAggregateListeners()</pre>
<div class="block">The set of aggregate listeners.</div>
</li>
</ul>
<a name="deleteInMemory(org.apache.openjpa.kernel.StoreQuery, org.apache.openjpa.kernel.StoreQuery.Executor, java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteInMemory</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;deleteInMemory(<a href="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a>&nbsp;q,
<a href="../../../../org/apache/openjpa/kernel/StoreQuery.Executor.html" title="interface in org.apache.openjpa.kernel">StoreQuery.Executor</a>&nbsp;ex,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;params)</pre>
<div class="block">Helper method to delete the objects found by executing a query on
the given executor.</div>
</li>
</ul>
<a name="updateInMemory(org.apache.openjpa.kernel.StoreQuery, org.apache.openjpa.kernel.StoreQuery.Executor, java.lang.Object[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateInMemory</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;updateInMemory(<a href="../../../../org/apache/openjpa/kernel/StoreQuery.html" title="interface in org.apache.openjpa.kernel">StoreQuery</a>&nbsp;q,
<a href="../../../../org/apache/openjpa/kernel/StoreQuery.Executor.html" title="interface in org.apache.openjpa.kernel">StoreQuery.Executor</a>&nbsp;ex,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;params)</pre>
<div class="block">Helper method to update the objects found by executing a query on
the given executor.</div>
</li>
</ul>
<a name="classForName(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classForName</h4>
<pre><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;classForName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;imports)</pre>
<div class="block">Helper method to instantiate the class with the given name, taking
into account the query's candidate package, automatic imports, and
the given imports (if any). Returns null if the type cannot be found.</div>
</li>
</ul>
<a name="lock()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lock</h4>
<pre>void&nbsp;lock()</pre>
<div class="block">Synchronize on the query's internal lock.</div>
</li>
</ul>
<a name="unlock()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>unlock</h4>
<pre>void&nbsp;unlock()</pre>
<div class="block">Unlock the query's internal lock.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/QueryContext.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>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/openjpa/kernel/Query.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/openjpa/kernel/QueryFlushModes.html" title="interface in org.apache.openjpa.kernel"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/openjpa/kernel/QueryContext.html" target="_top">Frames</a></li>
<li><a href="QueryContext.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All 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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2006&#x2013;2017 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>