[ https://issues.apache.org/jira/browse/OAK-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235462#comment-13235462 ]
Thomas Mueller commented on OAK-36: ----------------------------------- +1 An implementation detail: Instead of complete query parsers, it might be easier to implement converters (that convert a statement from one language to another language). As a prove of concept, I have started to implemented such a converter in org.apache.jackrabbit.oak.query.XPathToSQL2Converter. As such converters don't necessarily need to rely on implementation classes, they can be used both in oak-jcr or oak-core. This design also simplifies testing. But whether a QueryParser implementation internally uses a converter or not is an implementation detail, so the above interface is fine. > Implement a query parser > ------------------------ > > Key: OAK-36 > URL: https://issues.apache.org/jira/browse/OAK-36 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: core > Reporter: Michael Dürig > > Implement a query parser and decide on a versatile AST representation which > works with all query languages and which is extensible to future query > languages. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira