| Title: Expressions |
| |
| <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 "path expressions"), 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-Memory Evaluation</A></LI> |
| </OL> |
| |