Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1901

Add ability to retrieve query plan via REST api

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.3.0.Final
    • 3.1.3.Final
    • API
    • None

    Description

      The ability to retrieve the value of a call to org.modeshape.jcr.api.query.QueryResult.getPlan() for any given JCR query via the REST api would be very useful.

      Another possible approach (or additional enhancement) would be to support this as an extension in JCR-SQL2 in the common form of the EXPLAIN keyword, ie:

      EXPLAIN SELECT e.* FROM [inf:episode] AS e INNER JOIN [inf:patient] AS p ON ISDESCENDANTNODE(e,p) WHERE p.[inf:masterId] = '00010014'
      

      This second approach should also make access to the query plan possible via the JDBC driver.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            bwallis42_jira Brian Wallis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: