Q- The type of the query statement, usually a
public interface CriteriaFactory<Q>
Criteria(tree) from the provided query. The syntax of the query is implementation specific and may look as follows:
( ( ( City = 'Berlin' ) OR ( City = 'Munich' ) ) AND ( Surname = 'Miller' ) )
CAUTION: The syntax supported for the query statement is implementation depended!
Criteria fromQuery(Q aQuery) throws ParseException
Criteria(tree). Whether a
CriteriaNodeor just a
CriteriaLeafis returned depends on the complexity of the query.
Copyright © 2015. All rights reserved.