public class ExpressionCriteriaFactoryImpl extends Object implements CriteriaFactory<String>
CriteriaFactorywhich is capable of parsing an expression such as the following one: ( ( ( City = 'Berlin' ) OR ( City = 'Munich' ) ) AND ( Surname = 'Miller' ) ).
|Constructor and Description|
|Modifier and Type||Method and Description|
Parsed the given query and constructs a
public Criteria fromQuery(String aQuery) throws ParseException
Criteria(tree). Whether a
CriteriaNodeor just a
CriteriaLeafis returned depends on the complexity of the query.
Copyright © 2017. All rights reserved.