public class QueryParser extends Object
| Constructor and Description |
|---|
QueryParser()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate |
parse(Token[] tokens)
Generate a Predicate instance from an array of tokens.
|
public Predicate parse(Token[] tokens) throws InvalidQueryException
tokens - an array of tokens which represent the query,
each token contains type and value informationInvalidQueryException - if unable to parse the tokens and produce a predicateCopyright © 2022 Apache Software Foundation. All rights reserved.