jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: [Oak] XPathToSQL2Converter no exported
Date Mon, 02 Jun 2014 11:53:07 GMT

> Is this intentional?

Well, you should not (need to) use it directly within your application.

With Oak, you can also use "explain" with XPath queries, using the (yet
undocumented, sorry) feature:

    explain //*

As soon as I have time, I will document it as part of OAK-1868.


On 02/06/14 01:24, "David G." <davidjgonzalez@gmail.com> wrote:

>Im looking for a XpathToSQL2 converter for use on an Oak project.
>I saw this exists as a ³public² API,
>org.apache.jackrabbit.oak.query.xpath.XPathToSQL2Converter, but I can¹t
>find any Oak OSGi bundles that expose it (..query.xpath). Is this
>Im looking for a way to invoke a EXPLAIN on an xpath query; The simplest
>way seems to convert to SQL2, and invoke on that - however the lack of
>xpath to sql2 conversion tooling is making this difficult.
>David Gonzalez
>Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

View raw message