blob: c943e764fd588d322447aaa1d1d80a9e2a82df2b [file] [log] [blame]
Title: Expressions
<H2><A name="Expressions-Expressions"></A>Expressions</H2>
<P>Cayenne defines a simple yet powerful object-based expression language. Cayenne expressions are database independent and are used as query qualifiers and orderings and also to perform in-memory evaluation with DataObjects (and generally any kind of Java Beans). BNF of Cayenne expression language is described <A href="bnf-for-expressionparser.html" title="BNF for ExpressionParser">here</A>.</P>
<P>Expressions are broadly divided into the following categories: object property expressions (also called &quot;path expressions&quot;), arithmetic operations, and conditional expressions. Cayenne contains a parser to build expressions from strings, and also features explicit expression API. Various ways of creating and using expressions are described later in this chapter. </P>
<H3><A name="Expressions-Sections"></A>Sections</H3>
<OL>
<LI><A href="path-expressions.html" title="Path Expressions">Path Expressions</A></LI>
<LI><A href="building-expressions.html" title="Building Expressions">Building Expressions</A></LI>
<LI><A href="expression-factory-utilities.html" title="Expression Factory Utilities">Expression Factory Utilities</A></LI>
<LI><A href="null-handling.html" title="NULL Handling">NULL Handling</A></LI>
<LI><A href="in-memory-evaluation.html" title="In-Memory Evaluation">In&#45;Memory Evaluation</A></LI>
<LI><A href="bnf-for-expressionparser.html" title="BNF for ExpressionParser">BNF for ExpressionParser</A></LI>
</OL>