[Yanel-dev] [Fwd: Re: master plan for jsr 283 query implementation]
Michael Wechner
michael.wechner at wyona.com
Tue Sep 11 08:08:42 CEST 2007
Hi
I think this is good for us to know.
Cheers
Michi
-------- Original Message --------
Subject: Re: master plan for jsr 283 query implementation
Date: Mon, 10 Sep 2007 19:00:39 +0200
From: Christoph Kiehl <christoph at sulu3000.de>
Reply-To: dev at jackrabbit.apache.org
To: dev at jackrabbit.apache.org
References: <46DFB804.4040809 at gmx.net>
Marcel Reutegger wrote:
> well, those are actually just my thoughts how I think we should
> implement the query enhancements specified in JSR 283.
>
> there are basically three major blocks that we need to implement:
>
> - JQOM, allows you to programmatically create a query
> - JCR-SQL2, the new SQL query syntax
> - additional query features (joins, etc.)
>
> In a first step I already introduced temporary interfaces for the JQOM
> and implementing classes.
>
> I'd like to keep the current design of the query sub system for a while
> until we are ready to switch to the new JQOM as the basis for syntax
> independent query representation.
>
> That is, in a first phase my suggestion is the following:
>
> XPath---+
> +--->AQT----+
> SQL-----+ +---->LuceneQuery
> |
> SQL2------->JQOM----+
>
>
> AQT: abstract query tree
>
> And once the path SQL2->JQOM->LuceneQuery is stable:
>
> XPath---+ AQT (deprecated)
> |
> SQL-----+---->JQOM----->LuceneQuery
> |
> SQL2----+
>
>
> Comments and suggestions are welcome.
+1. Sounds reasonable. Do you want to use javacc for SQL2 parsing?
Cheers,
Christoph
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list