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