public class PredicateCompiler extends Object
| Constructor and Description |
|---|
PredicateCompiler() |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
compile(String exp)
Generate a predicate from a query expression.
|
Predicate |
compile(String exp,
Collection<String> ignoredProperties)
Generate a predicate from a query expression.
|
public Predicate compile(String exp) throws InvalidQueryException
exp - query expressionInvalidQueryException - if unable to compile the expressionpublic Predicate compile(String exp, Collection<String> ignoredProperties) throws InvalidQueryException
exp - query expressionignoredProperties - collection of property names to ignoreInvalidQueryException - if unable to compile the expressionCopyright © 2022 Apache Software Foundation. All rights reserved.