-
Notifications
You must be signed in to change notification settings - Fork 881
Query serialization logic
Ruben Dijkstra edited this page Jan 28, 2016
·
6 revisions
The main functionality of Querydsl is to map a query model into an underlying query, execute it, and return the results. This page summarizes how and where the query transformation is defined for various modules.
The String based serializations (JPA, JDO and SQL) share common superclasses for the serialization logic
- Operation templates Templates
- Serialization SerializerBase
other serialization logic (e.g. Lucene and Mongodb) are based on custom Expression visitors
String based serialization
- Operation templates CollQueryTemplates
- Serialization CollQuerySerializer
Lucene query serialization
- Serialization SearchSerializer
String based serialization into JDOQL
- Operation templates JDOQLTemplates
- Serialization JDOQLSerializer
String based serialization into JPQL
- Operation templates JPQLTemplates
- Serialization JPQLSerializer
Serialization into Lucene 3 query
- Serialization LuceneSerializer
Serialization into Lucene 4 query
- Serialization LuceneSerializer
Serialization into Mongodb query
- Serialization MongodbSerializer
String based serialization into SQL
- Operation templates SQLTemplates
- Serialization SQLSerializer
SQL dialect specific customizations are in subclasses of SQLTemplates