Class Parser
- java.lang.Object
-
- org.apache.jackrabbit.commons.query.sql2.Parser
-
- Direct Known Subclasses:
Parser
public class Parser extends java.lang.ObjectThe SQL2 parser can convert a JCR-SQL2 query to a QueryObjectModel.
-
-
Constructor Summary
Constructors Constructor Description Parser(javax.jcr.query.qom.QueryObjectModelFactory factory, javax.jcr.ValueFactory valueFactory)Create a new parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jcr.query.qom.QueryObjectModelcreateQueryObjectModel(java.lang.String query)Parse a JCR-SQL2 query and return the query object model
-
-
-
Method Detail
-
createQueryObjectModel
public javax.jcr.query.qom.QueryObjectModel createQueryObjectModel(java.lang.String query) throws javax.jcr.RepositoryExceptionParse a JCR-SQL2 query and return the query object model- Parameters:
query- the query string- Returns:
- the query object model
- Throws:
javax.jcr.RepositoryException- if parsing failed
-
-