Constructor and Description |
---|
Parser(javax.jcr.query.qom.QueryObjectModelFactory factory,
javax.jcr.ValueFactory valueFactory)
Create a new parser.
|
Modifier and Type | Method and Description |
---|---|
javax.jcr.query.qom.QueryObjectModel |
createQueryObjectModel(String query)
Parse a JCR-SQL2 query and return the query object model
|
public Parser(javax.jcr.query.qom.QueryObjectModelFactory factory, javax.jcr.ValueFactory valueFactory)
factory
- the query object model factoryvalueFactory
- the value factorypublic javax.jcr.query.qom.QueryObjectModel createQueryObjectModel(String query) throws javax.jcr.RepositoryException
query
- the query stringjavax.jcr.RepositoryException
- if parsing failedCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.