|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.commons.query.sql2.Parser
public class Parser
The SQL2 parser can convert a JCR-SQL2 query to a QueryObjectModel.
| Constructor Summary | |
|---|---|
Parser(QueryObjectModelFactory factory,
ValueFactory valueFactory)
Create a new parser. |
|
| Method Summary | |
|---|---|
QueryObjectModel |
createQueryObjectModel(java.lang.String query)
Parse a JCR-SQL2 query and return the query object model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Parser(QueryObjectModelFactory factory,
ValueFactory valueFactory)
factory - the query object model factoryvalueFactory - the value factory| Method Detail |
|---|
public QueryObjectModel createQueryObjectModel(java.lang.String query)
throws RepositoryException
query - the query string
RepositoryException - if parsing failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||