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 QueryCompiler
QueryCompiler.Keywords, QueryCompiler.Subqueries -
Field Summary
Fields inherited from class AbstractQueryCompiler
dataModel, log -
Constructor Summary
ConstructorsConstructorDescriptionCriteriaQueryCompiler(org.slf4j.Logger log, DataModel dataModel, PersistenceService persistService, ConditionFactory conditionFactory) -
Method Summary
Methods inherited from class 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:QueryCompilerCompile 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:QueryCompilerCompile 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.
-