blob: 524d8183119f3d381a68b840f503d1d0580ca14d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Thu Nov 21 14:32:50 CET 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
QueryDefinition (OpenJPA Parent POM 2.3.0 API)
</TITLE>
<META NAME="date" CONTENT="2013-11-21">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="QueryDefinition (OpenJPA Parent POM 2.3.0 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QueryDefinition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryBuilderImpl.html" title="class in org.apache.openjpa.persistence.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinitionImpl.html" title="class in org.apache.openjpa.persistence.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/query/QueryDefinition.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="QueryDefinition.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.openjpa.persistence.query</FONT>
<BR>
Interface QueryDefinition</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html" title="interface in org.apache.openjpa.persistence.query">PredicateOperand</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A></DD>
</DL>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../org/apache/openjpa/persistence/query/DomainObject.html" title="interface in org.apache.openjpa.persistence.query">DomainObject</A></DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/openjpa/persistence/query/AbstractDomainObject.html" title="class in org.apache.openjpa.persistence.query">AbstractDomainObject</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/EntryExpression.html" title="class in org.apache.openjpa.persistence.query">EntryExpression</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/FetchPath.html" title="class in org.apache.openjpa.persistence.query">FetchPath</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/JoinPath.html" title="class in org.apache.openjpa.persistence.query">JoinPath</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/KeyExpression.html" title="class in org.apache.openjpa.persistence.query">KeyExpression</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/OperatorPath.html" title="class in org.apache.openjpa.persistence.query">OperatorPath</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinitionImpl.html" title="class in org.apache.openjpa.persistence.query">QueryDefinitionImpl</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/RootPath.html" title="class in org.apache.openjpa.persistence.query">RootPath</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/ValueExpression.html" title="class in org.apache.openjpa.persistence.query">ValueExpression</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>QueryDefinition</B><DT>extends <A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A></DL>
</PRE>
<P>
Interface for construction of query definitions
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/DomainObject.html" title="interface in org.apache.openjpa.persistence.query">DomainObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#addRoot(java.lang.Class)">addRoot</A></B>(<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>&nbsp;cls)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a query root corresponding to the given entity, forming a cartesian
product with any existing roots.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/DomainObject.html" title="interface in org.apache.openjpa.persistence.query">DomainObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#addSubqueryRoot(org.apache.openjpa.persistence.query.PathExpression)">addSubqueryRoot</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>&nbsp;path)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a root derived from a domain object of the containing query
definition to a query definition used as a subquery.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#all()">all</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use the query definition object in a subquery in an all expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#any()">any</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use the query definition object in a subquery in an any expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#coalesce(java.util.Calendar...)">coalesce</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>...&nbsp;exp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#coalesce(java.util.Date...)">coalesce</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>...&nbsp;exp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#coalesce(org.apache.openjpa.persistence.query.Expression...)">coalesce</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>...&nbsp;exp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#coalesce(java.lang.String...)">coalesce</A></B>(<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;exp)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#currentDate()">currentDate</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to the current date on the database
server at the time of query execution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#currentTime()">currentTime</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to the current time on the database
server at the time of query execution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#currentTimestamp()">currentTimestamp</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to the current timestamp on the
database server at the time of query execution.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#exists()">exists</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use the query definition instance as a subquery in an exists predicate.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#generalCase()">generalCase</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an empty general case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#groupBy(java.util.List)">groupBy</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>&gt;&nbsp;pathExprList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the items that are used to form groups over the query results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#groupBy(org.apache.openjpa.persistence.query.PathExpression...)">groupBy</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>...&nbsp;pathExprs)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the items that are used to form groups over the query results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#having(org.apache.openjpa.persistence.query.Predicate)">having</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;predicate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the restrictions over the groups of a query.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(boolean)">literal</A></B>(boolean&nbsp;b)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a boolean value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.util.Calendar)">literal</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;c)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a Calendar value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(char)">literal</A></B>(char&nbsp;c)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a character value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.lang.Class)">literal</A></B>(<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>&nbsp;cls)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to an entity class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.util.Date)">literal</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;d)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a Date value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.lang.Enum)">literal</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;e)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to an enum.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.lang.Number)">literal</A></B>(<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;n)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a numeric value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#literal(java.lang.String)">literal</A></B>(<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;s)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a String value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#newInstance(java.lang.Class, org.apache.openjpa.persistence.query.SelectItem...)">newInstance</A></B>(<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>&nbsp;cls,
<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;args)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify that a constructor for the given class is to be applied to the
corresponding query results after the query is executed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.util.Calendar, java.util.Calendar)">nullif</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.lang.Class, java.lang.Class)">nullif</A></B>(<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>&nbsp;arg1,
<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>&nbsp;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.util.Date, java.util.Date)">nullif</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.lang.Enum, java.lang.Enum)">nullif</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(org.apache.openjpa.persistence.query.Expression, org.apache.openjpa.persistence.query.Expression)">nullif</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;exp1,
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;exp2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.lang.Number, java.lang.Number)">nullif</A></B>(<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;arg1,
<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;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullif(java.lang.String, java.lang.String)">nullif</A></B>(<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;arg1,
<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;arg2)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#nullLiteral()">nullLiteral</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an Expression corresponding to a null value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#orderBy(java.util.List)">orderBy</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/OrderByItem.html" title="interface in org.apache.openjpa.persistence.query">OrderByItem</A>&gt;&nbsp;orderByItemList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the items of the select list that are used in ordering the query
results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#orderBy(org.apache.openjpa.persistence.query.OrderByItem...)">orderBy</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/OrderByItem.html" title="interface in org.apache.openjpa.persistence.query">OrderByItem</A>...&nbsp;orderByItems)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the items of the select list that are used in ordering the query
results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#param(java.lang.String)">param</A></B>(<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>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify use of a parameter of the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#predicate(boolean)">predicate</A></B>(boolean&nbsp;b)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a predicate value from the given boolean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#select(java.util.List)">select</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>&gt;&nbsp;selectItemList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the objects / values to be returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#select(org.apache.openjpa.persistence.query.SelectItem...)">select</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;selectItems)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the objects / values to be returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#selectDistinct(java.util.List)">selectDistinct</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>&gt;&nbsp;selectItemList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the objects / values to be returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#selectDistinct(org.apache.openjpa.persistence.query.SelectItem...)">selectDistinct</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;selectItems)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the objects / values to be returned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.util.Calendar)">simpleCase</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.lang.Class)">simpleCase</A></B>(<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>&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.util.Date)">simpleCase</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.lang.Enum)">simpleCase</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(org.apache.openjpa.persistence.query.Expression)">simpleCase</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.lang.Number)">simpleCase</A></B>(<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;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#simpleCase(java.lang.String)">simpleCase</A></B>(<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;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a simple case expression with the given case operand.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#some()">some</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use the query definition object in a subquery in a some expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html#where(org.apache.openjpa.persistence.query.Predicate)">where</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;predicate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modifies the query definition to restrict the result of the query
according to the specified predicate.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.openjpa.persistence.query.PredicateOperand"><!-- --></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.openjpa.persistence.query.<A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html" title="interface in org.apache.openjpa.persistence.query">PredicateOperand</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.util.Calendar, java.util.Calendar)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.util.Calendar, org.apache.openjpa.persistence.query.PredicateOperand)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.util.Date, java.util.Date)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.util.Date, org.apache.openjpa.persistence.query.PredicateOperand)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.lang.Number, java.lang.Number)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.lang.Number, org.apache.openjpa.persistence.query.PredicateOperand)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(org.apache.openjpa.persistence.query.PredicateOperand, java.util.Calendar)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(org.apache.openjpa.persistence.query.PredicateOperand, java.util.Date)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(org.apache.openjpa.persistence.query.PredicateOperand, java.lang.Number)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(org.apache.openjpa.persistence.query.PredicateOperand, org.apache.openjpa.persistence.query.PredicateOperand)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(org.apache.openjpa.persistence.query.PredicateOperand, java.lang.String)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.lang.String, org.apache.openjpa.persistence.query.PredicateOperand)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#between(java.lang.String, java.lang.String)">between</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(boolean)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.util.Calendar)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.lang.Class)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.util.Date)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.lang.Enum)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.lang.Number)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(org.apache.openjpa.persistence.query.PredicateOperand)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#equal(java.lang.String)">equal</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterEqual(java.util.Calendar)">greaterEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterEqual(java.util.Date)">greaterEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterEqual(java.lang.Number)">greaterEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterEqual(org.apache.openjpa.persistence.query.PredicateOperand)">greaterEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterEqual(java.lang.String)">greaterEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterThan(java.util.Calendar)">greaterThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterThan(java.util.Date)">greaterThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterThan(java.lang.Number)">greaterThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterThan(org.apache.openjpa.persistence.query.PredicateOperand)">greaterThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#greaterThan(java.lang.String)">greaterThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessEqual(java.util.Calendar)">lessEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessEqual(java.util.Date)">lessEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessEqual(java.lang.Number)">lessEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessEqual(org.apache.openjpa.persistence.query.PredicateOperand)">lessEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessEqual(java.lang.String)">lessEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessThan(java.util.Calendar)">lessThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessThan(java.util.Date)">lessThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessThan(java.lang.Number)">lessThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessThan(org.apache.openjpa.persistence.query.PredicateOperand)">lessThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#lessThan(java.lang.String)">lessThan</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(org.apache.openjpa.persistence.query.PredicateOperand)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(org.apache.openjpa.persistence.query.PredicateOperand, char)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(org.apache.openjpa.persistence.query.PredicateOperand, org.apache.openjpa.persistence.query.PredicateOperand)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(java.lang.String)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(java.lang.String, char)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#like(java.lang.String, org.apache.openjpa.persistence.query.PredicateOperand)">like</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(boolean)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.util.Calendar)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.lang.Class)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.util.Date)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.lang.Enum)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.lang.Number)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(org.apache.openjpa.persistence.query.PredicateOperand)">notEqual</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/PredicateOperand.html#notEqual(java.lang.String)">notEqual</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ 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="addRoot(java.lang.Class)"><!-- --></A><H3>
addRoot</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/DomainObject.html" title="interface in org.apache.openjpa.persistence.query">DomainObject</A> <B>addRoot</B>(<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>&nbsp;cls)</PRE>
<DL>
<DD>Add a query root corresponding to the given entity, forming a cartesian
product with any existing roots. The domain object that is returned is
bound as a component of the given query. The argument must be an entity
class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cls</CODE> - -
an entity class
<DT><B>Returns:</B><DD>DomainObject corresponding to the specified entity class.</DL>
</DD>
</DL>
<HR>
<A NAME="addSubqueryRoot(org.apache.openjpa.persistence.query.PathExpression)"><!-- --></A><H3>
addSubqueryRoot</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/DomainObject.html" title="interface in org.apache.openjpa.persistence.query">DomainObject</A> <B>addSubqueryRoot</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>&nbsp;path)</PRE>
<DL>
<DD>Add a root derived from a domain object of the containing query
definition to a query definition used as a subquery. Provides support for
correlated subqueries. Joins against the resulting domain object do not
affect the query domain of the containing query. The path expression must
correspond to an entity class. The path expression must not be a domain
object of the containing query.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - -
path expression corresponding to the domain object used to
derive the subquery root.
<DT><B>Returns:</B><DD>the subquery DomainObject</DL>
</DD>
</DL>
<HR>
<A NAME="select(org.apache.openjpa.persistence.query.SelectItem...)"><!-- --></A><H3>
select</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>select</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;selectItems)</PRE>
<DL>
<DD>Specify the objects / values to be returned. Replaces the previous select
list, if any. If no select items are specified and there is only one
query root, the root entity is assumed to be the result.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectItems</CODE> - -
one or more SelectItem instances
<DT><B>Returns:</B><DD>the modified query definition instance</DL>
</DD>
</DL>
<HR>
<A NAME="select(java.util.List)"><!-- --></A><H3>
select</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>select</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>&gt;&nbsp;selectItemList)</PRE>
<DL>
<DD>Specify the objects / values to be returned. Replaces the previous select
list, if any. If no select items are specified and there is only one
query root, the root entity is assumed to be the result.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectItemList</CODE> - -
a list containing one or more SelectItem instances
<DT><B>Returns:</B><DD>the modified query definition instance</DL>
</DD>
</DL>
<HR>
<A NAME="selectDistinct(org.apache.openjpa.persistence.query.SelectItem...)"><!-- --></A><H3>
selectDistinct</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>selectDistinct</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;selectItems)</PRE>
<DL>
<DD>Specify the objects / values to be returned. Duplicate results will be
eliminated. Replaces the previous select list, if any. If no select items
are specified and there is only one query root, the root entity is
assumed to be the result.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectItems</CODE> - -
one or more SelectItem instances
<DT><B>Returns:</B><DD>the modified query definition instance</DL>
</DD>
</DL>
<HR>
<A NAME="selectDistinct(java.util.List)"><!-- --></A><H3>
selectDistinct</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>selectDistinct</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>&gt;&nbsp;selectItemList)</PRE>
<DL>
<DD>Specify the objects / values to be returned. Duplicate results will be
eliminated. Replaces the previous select list, if any. If no select items
are specified, and there is only one query root, the root entity is
assumed to be the result. is assumed to be the result.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>selectItemList</CODE> - -
a list containing one or more SelectItem instances
<DT><B>Returns:</B><DD>the modified query definition instance</DL>
</DD>
</DL>
<HR>
<A NAME="where(org.apache.openjpa.persistence.query.Predicate)"><!-- --></A><H3>
where</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>where</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;predicate)</PRE>
<DL>
<DD>Modifies the query definition to restrict the result of the query
according to the specified predicate. Replaces the previously added
restriction(s), if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>predicate</CODE> - -
a simple or compound conditional predicate
<DT><B>Returns:</B><DD>the modified QueryDefinition instance</DL>
</DD>
</DL>
<HR>
<A NAME="orderBy(org.apache.openjpa.persistence.query.OrderByItem...)"><!-- --></A><H3>
orderBy</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>orderBy</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/OrderByItem.html" title="interface in org.apache.openjpa.persistence.query">OrderByItem</A>...&nbsp;orderByItems)</PRE>
<DL>
<DD>Specify the items of the select list that are used in ordering the query
results. Replaces the previous order-by list, if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>orderByItems</CODE> - -
one or more OrderByItem instances
<DT><B>Returns:</B><DD>the modified QueryDefinition instance</DL>
</DD>
</DL>
<HR>
<A NAME="orderBy(java.util.List)"><!-- --></A><H3>
orderBy</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>orderBy</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/OrderByItem.html" title="interface in org.apache.openjpa.persistence.query">OrderByItem</A>&gt;&nbsp;orderByItemList)</PRE>
<DL>
<DD>Specify the items of the select list that are used in ordering the query
results. Replaces the previous order-by list, if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>orderByItemList</CODE> - -
a list containing one or more OrderByItem
instances
<DT><B>Returns:</B><DD>the modified QueryDefinition instance</DL>
</DD>
</DL>
<HR>
<A NAME="groupBy(org.apache.openjpa.persistence.query.PathExpression...)"><!-- --></A><H3>
groupBy</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>groupBy</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>...&nbsp;pathExprs)</PRE>
<DL>
<DD>Specify the items that are used to form groups over the query results.
Replaces the previous group-by list, if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pathExprs</CODE> -
<DT><B>Returns:</B><DD>the modified QueryDefinition instance</DL>
</DD>
</DL>
<HR>
<A NAME="groupBy(java.util.List)"><!-- --></A><H3>
groupBy</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>groupBy</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../org/apache/openjpa/persistence/query/PathExpression.html" title="interface in org.apache.openjpa.persistence.query">PathExpression</A>&gt;&nbsp;pathExprList)</PRE>
<DL>
<DD>Specify the items that are used to form groups over the query results.
Replaces the previous group-by list, if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pathExprList</CODE> -
<DT><B>Returns:</B><DD>the modified QueryDefinition instance</DL>
</DD>
</DL>
<HR>
<A NAME="having(org.apache.openjpa.persistence.query.Predicate)"><!-- --></A><H3>
having</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinition.html" title="interface in org.apache.openjpa.persistence.query">QueryDefinition</A> <B>having</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;predicate)</PRE>
<DL>
<DD>Specify the restrictions over the groups of a query. Replaces the
previous having restriction(s), if any.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>predicate</CODE> -
<DT><B>Returns:</B><DD>the modified QueryDefinition Instance</DL>
</DD>
</DL>
<HR>
<A NAME="newInstance(java.lang.Class, org.apache.openjpa.persistence.query.SelectItem...)"><!-- --></A><H3>
newInstance</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A> <B>newInstance</B>(<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>&nbsp;cls,
<A HREF="../../../../../org/apache/openjpa/persistence/query/SelectItem.html" title="interface in org.apache.openjpa.persistence.query">SelectItem</A>...&nbsp;args)</PRE>
<DL>
<DD>Specify that a constructor for the given class is to be applied to the
corresponding query results after the query is executed. The class must
have a constructor that accepts the Java argument types corresponding to
the given select items.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cls</CODE> - -
a class with the correponding constructor<DD><CODE>args</CODE> - -
select items that correspond to result types that are valid
as arguments to the constructor</DL>
</DD>
</DL>
<HR>
<A NAME="exists()"><!-- --></A><H3>
exists</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A> <B>exists</B>()</PRE>
<DL>
<DD>Use the query definition instance as a subquery in an exists predicate.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the resulting predicate</DL>
</DD>
</DL>
<HR>
<A NAME="all()"><!-- --></A><H3>
all</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A> <B>all</B>()</PRE>
<DL>
<DD>Use the query definition object in a subquery in an all expression.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the resulting Subquery</DL>
</DD>
</DL>
<HR>
<A NAME="any()"><!-- --></A><H3>
any</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A> <B>any</B>()</PRE>
<DL>
<DD>Use the query definition object in a subquery in an any expression.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the resulting Subquery</DL>
</DD>
</DL>
<HR>
<A NAME="some()"><!-- --></A><H3>
some</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Subquery.html" title="interface in org.apache.openjpa.persistence.query">Subquery</A> <B>some</B>()</PRE>
<DL>
<DD>Use the query definition object in a subquery in a some expression.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the resulting Subquery</DL>
</DD>
</DL>
<HR>
<A NAME="generalCase()"><!-- --></A><H3>
generalCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>generalCase</B>()</PRE>
<DL>
<DD>Create an empty general case expression. A general case expression is of
the form:
<p/>
generalCase() .when(conditional-predicate).then(scalar-expression)
.when(conditional-predicate).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>empty general case expression</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(org.apache.openjpa.persistence.query.Expression)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
expression used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.lang.Number)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<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;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
numeric value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.lang.String)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<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;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.util.Date)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.util.Calendar)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.lang.Class)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<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>&nbsp;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="simpleCase(java.lang.Enum)"><!-- --></A><H3>
simpleCase</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>simpleCase</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;caseOperand)</PRE>
<DL>
<DD>Create a simple case expression with the given case operand. A simple
case expression is of the form:
<p/>
simpleCase(case-operand) .when(scalar-expression).then(scalar-expression)
.when(scalar-expression).then(scalar-expression) ...
.elseCase(scalar-expression)
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>caseOperand</CODE> - -
value used for testing against the when scalar
expressions
<DT><B>Returns:</B><DD>case expression with the given case operand</DL>
</DD>
</DL>
<HR>
<A NAME="coalesce(org.apache.openjpa.persistence.query.Expression...)"><!-- --></A><H3>
coalesce</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>coalesce</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>...&nbsp;exp)</PRE>
<DL>
<DD>coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exp</CODE> - -
expressions to be used for testing against null
<DT><B>Returns:</B><DD>Expression corresponding to the given coalesce expression</DL>
</DD>
</DL>
<HR>
<A NAME="coalesce(java.lang.String...)"><!-- --></A><H3>
coalesce</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>coalesce</B>(<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;exp)</PRE>
<DL>
<DD>coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exp</CODE> - -
expressions to be used for testing against null
<DT><B>Returns:</B><DD>Expression corresponding to the given coalesce expression</DL>
</DD>
</DL>
<HR>
<A NAME="coalesce(java.util.Date...)"><!-- --></A><H3>
coalesce</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>coalesce</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>...&nbsp;exp)</PRE>
<DL>
<DD>coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exp</CODE> - -
expressions to be used for testing against null
<DT><B>Returns:</B><DD>Expression corresponding to the given coalesce expression</DL>
</DD>
</DL>
<HR>
<A NAME="coalesce(java.util.Calendar...)"><!-- --></A><H3>
coalesce</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>coalesce</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>...&nbsp;exp)</PRE>
<DL>
<DD>coalesce This is equivalent to a case expression that returns null if all
its arguments evaluate to null, and the value of its first non-null
argument otherwise.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exp</CODE> - -
expressions to be used for testing against null
<DT><B>Returns:</B><DD>Expression corresponding to the given coalesce expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(org.apache.openjpa.persistence.query.Expression, org.apache.openjpa.persistence.query.Expression)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;exp1,
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;exp2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>exp1</CODE> - <DD><CODE>exp2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.lang.Number, java.lang.Number)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<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;arg1,
<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;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.lang.String, java.lang.String)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<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;arg1,
<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;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> - Criteria API Java Persistence 2.0, Public Review Draft
Criteria API Interfaces 10/31/08 158 JSR-317 Public Review
Draft Sun Microsystems, Inc.
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.util.Date, java.util.Date)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.util.Calendar, java.util.Calendar)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.lang.Class, java.lang.Class)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<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>&nbsp;arg1,
<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>&nbsp;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="nullif(java.lang.Enum, java.lang.Enum)"><!-- --></A><H3>
nullif</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullif</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg1,
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg2)</PRE>
<DL>
<DD>nullif This is equivalent to a case expression that tests whether its
arguments are equal, returning null if they are and the value of the
first expression if they are not.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg1</CODE> - <DD><CODE>arg2</CODE> -
<DT><B>Returns:</B><DD>Expression corresponding to the given nullif expression</DL>
</DD>
</DL>
<HR>
<A NAME="predicate(boolean)"><!-- --></A><H3>
predicate</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A> <B>predicate</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Create a predicate value from the given boolean.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - boolean value
<DT><B>Returns:</B><DD>a true or false predicate</DL>
</DD>
</DL>
<HR>
<A NAME="currentTime()"><!-- --></A><H3>
currentTime</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>currentTime</B>()</PRE>
<DL>
<DD>Create an Expression corresponding to the current time on the database
server at the time of query execution.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the corresponding Expression</DL>
</DD>
</DL>
<HR>
<A NAME="currentDate()"><!-- --></A><H3>
currentDate</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>currentDate</B>()</PRE>
<DL>
<DD>Create an Expression corresponding to the current date on the database
server at the time of query execution.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the corresponding Expression</DL>
</DD>
</DL>
<HR>
<A NAME="currentTimestamp()"><!-- --></A><H3>
currentTimestamp</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>currentTimestamp</B>()</PRE>
<DL>
<DD>Create an Expression corresponding to the current timestamp on the
database server at the time of query execution.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the corresponding Expression</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.lang.String)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<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;s)</PRE>
<DL>
<DD>Create an Expression corresponding to a String value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>s</CODE> - -
string value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.lang.Number)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<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;n)</PRE>
<DL>
<DD>Create an Expression corresponding to a numeric value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - -
numeric value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(boolean)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(boolean&nbsp;b)</PRE>
<DL>
<DD>Create an Expression corresponding to a boolean value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>b</CODE> - -
boolean value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.util.Calendar)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;c)</PRE>
<DL>
<DD>Create an Expression corresponding to a Calendar value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - -
Calendar value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.util.Date)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;d)</PRE>
<DL>
<DD>Create an Expression corresponding to a Date value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - -
Date value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(char)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(char&nbsp;c)</PRE>
<DL>
<DD>Create an Expression corresponding to a character value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>character</CODE> - value
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.lang.Class)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<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>&nbsp;cls)</PRE>
<DL>
<DD>Create an Expression corresponding to an entity class.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cls</CODE> - -
entity class
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="literal(java.lang.Enum)"><!-- --></A><H3>
literal</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>literal</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;e)</PRE>
<DL>
<DD>Create an Expression corresponding to an enum.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>e</CODE> - -
enum
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="nullLiteral()"><!-- --></A><H3>
nullLiteral</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>nullLiteral</B>()</PRE>
<DL>
<DD>Create an Expression corresponding to a null value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the corresponding Expression literal</DL>
</DD>
</DL>
<HR>
<A NAME="param(java.lang.String)"><!-- --></A><H3>
param</H3>
<PRE>
<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>param</B>(<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>
<DL>
<DD>Specify use of a parameter of the given name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parameter</CODE> - name
<DT><B>Returns:</B><DD>an Expression corresponding to a named parameter</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QueryDefinition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryBuilderImpl.html" title="class in org.apache.openjpa.persistence.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/QueryDefinitionImpl.html" title="class in org.apache.openjpa.persistence.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/query/QueryDefinition.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="QueryDefinition.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006&#x2013;2013 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.
</BODY>
</HTML>