Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 472869205 for ; Fri, 31 Aug 2012 09:05:10 +0000 (UTC) Received: (qmail 39511 invoked by uid 500); 31 Aug 2012 09:05:10 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 39467 invoked by uid 500); 31 Aug 2012 09:05:08 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 39426 invoked by uid 99); 31 Aug 2012 09:05:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2012 09:05:07 +0000 Date: Fri, 31 Aug 2012 20:05:07 +1100 (NCT) From: "Thomas Mueller (JIRA)" To: oak-dev@jackrabbit.apache.org Message-ID: <254452866.21378.1346403907873.JavaMail.jiratomcat@arcas> In-Reply-To: <2146223278.24937.1331911539195.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OAK-28) Query implementation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445785#comment-13445785 ] Thomas Mueller commented on OAK-28: ----------------------------------- Thanks Chetan! Fixed in revision 1379373. > Query implementation > -------------------- > > Key: OAK-28 > URL: https://issues.apache.org/jira/browse/OAK-28 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: core, jcr > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Labels: query > Attachments: OakToJcrQueryTreeConverter.java > > > A query engine needs to be implemented. > A query parser in oak-core should be able to handle xpath, sql2 and optionally other query languages. The jcr component must generate a valid query in one of those languages from JQOM queries and pass that statement along with value bindings, limit, offset, and name space mappings to the oak-core. > We need to: > * Define the oak-core API for handling queries. How are do we handle name space mappings, limit and offset > * Implement a query builder in the jcr component which takes care of translating JQOM queries to statements in string form > * Implement a query parser in oak-core and decide on a versatile AST representation which works with all query languages and which is extensible to future query languages. > * Implement the actual query execution engine which interprets the query AST -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira