org.datanucleus.query.compiler.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datanucleus-core Show documentation
Show all versions of datanucleus-core Show documentation
DataNucleus Core provides the primary components of a heterogenous Java persistence solution.
It supports persistence API's being layered on top of the core functionality.
Package handling the compilation of queries.
Provides compilation of "string-based" queries. Provides handling for different query languages
such as JDOQL, JPQL and SQL(simplified).
Compilation of a string-based query goes through two steps.
- Parse of the string converting each component of the query into a Node tree
- Compilation of the Node tree into an expression tree
From this tree the evaluation process can be configured to convert it into the native query
language for the datastore; this part is handled within each datastore plugin.
From this tree an in-memory evaluation can be performed. This is provided in the
org.datanucleus.query.evaluator package and subpackage(s).