On Wed, May 27, 2015 at 10:35 AM, Bertrand Delacretaz <bdelacre...@apache.org> wrote: > ...I'd > like to discuss what the alternatives are, before we invent YAQA (*)...
FWIW I've played a bit with the Oak query code to see if its parsers are reusable. That's not the case out of the box but it looks like refactoring Oak's SQL2Parser and XPathToSQL2Converter to provide access to the abstract syntax tree that they generate wouldn't be too hard. Going this way would allow us to reuse (a subset of) the JCR query languages, instead of inventing yet another one. -Bertrand > (*) Yet Another Query API ;-)