Class CriteriaQueryCompiler
java.lang.Object
ch.tocco.nice2.persist.core.spi.entity.query.ql.AbstractQueryCompiler
ch.tocco.nice2.persist.core.impl.hibernate.pojo.CriteriaQueryCompiler
- All Implemented Interfaces:
QueryCompiler
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.persist.core.api.query.QueryCompiler
QueryCompiler.Keywords, QueryCompiler.Subqueries
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.spi.entity.query.ql.AbstractQueryCompiler
dataModel, log
-
Constructor Summary
ConstructorDescriptionCriteriaQueryCompiler
(org.slf4j.Logger log, DataModel dataModel, PersistenceService persistService, ConditionFactory conditionFactory) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.spi.entity.query.ql.AbstractQueryCompiler
compileException, findFuncall, findOrder, findTargetEntity, findWhere, parseQuery, parseQueryString
-
Constructor Details
-
CriteriaQueryCompiler
public CriteriaQueryCompiler(org.slf4j.Logger log, DataModel dataModel, PersistenceService persistService, ConditionFactory conditionFactory)
-
-
Method Details
-
compile
Description copied from interface:QueryCompiler
Compile a query string to an executable query.- Parameters:
ctx
- The context to compile the query for.queryString
- The query string.- Returns:
- The compiled executable query.
- Throws:
PersistException
- If an error occurs.
-
compile
Description copied from interface:QueryCompiler
Compile a query AST to an executable query.- Parameters:
ctx
- The context to compile the query for.tree
- The root of the tree.- Returns:
- The compiled executable query.
- Throws:
PersistException
- If an error occurs.
-