ModeShape Distribution 3.0.0.Beta4

Package org.modeshape.jcr.query.parse

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.

See:
          Description

Interface Summary
QueryParser The basic interface defining a component that is able to parse a string query into a QueryCommand.
 

Class Summary
BasicSqlQueryParser A QueryParser implementation that parses a subset of SQL select and set queries.
BasicSqlQueryParser.SqlTokenizer A TokenStream.Tokenizer implementation that parses words, quoted phrases, comments, and symbols.
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.
JcrQomQueryParser A parser for the JCR Query Object Model language.
JcrSql2QueryParser An specialization of the BasicSqlQueryParser that uses a different language name that matches the JCR 2.0 specification.
JcrSqlQueryParser Parser for JCR-SQL queries that produces abstract query model (AQM) objects.
JcrSqlQueryParser.JoinableSources  
QueryParsers A thread-safe collection of QueryParser implementations that can be used to parse queries by language.
 

Exception Summary
InvalidQueryException An exception signalling that a query is invalid (but typically well-formed)
 

Package org.modeshape.jcr.query.parse Description

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.


ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.