|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation.
See:
Description

| Interface Summary | |
|---|---|
| QueryParser | The basic interface defining a component that is able to parse a string query into a QueryCommand. |
| Class Summary | |
|---|---|
| FullTextSearchParser | A QueryParser implementation that parses a full-text search expression. |
| FullTextSearchParser.TermTokenizer | A basic TokenStream.Tokenizer implementation that ignores whitespace but includes tokens for individual symbols, the period
('.'), single-quoted strings, double-quoted strings, whitespace-delimited words, and optionally comments. |
| QueryParsers | A thread-safe collection of QueryParser implementations that can be used to parse queries by language. |
| SqlQueryParser | A QueryParser implementation that parses a subset of SQL select and set queries. |
| SqlQueryParser.SqlTokenizer | A TokenStream.Tokenizer implementation that parses words, quoted phrases, comments, and symbols. |
| Exception Summary | |
|---|---|
| InvalidQueryException | An exception signalling that a query is invalid (but typically well-formed) |
This package defines the QueryParser interface, which defines a component that can parse a query represented
in a specific language and produce the corresponding abstract query model representation.
Several parsers are provided, including one that parses a subset of SQL and another that parses the full-text search expressions. However, other query parsers can easily be created and used.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||