Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 7662 invoked from network); 17 Sep 2004 08:30:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Sep 2004 08:30:24 -0000 Received: (qmail 26228 invoked by uid 500); 17 Sep 2004 08:30:12 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 26208 invoked by uid 500); 17 Sep 2004 08:30:12 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 26194 invoked by uid 99); 17 Sep 2004 08:30:12 -0000 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.212.29.150] (HELO mtagate1.de.ibm.com) (195.212.29.150) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Sep 2004 01:30:11 -0700 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.12.10/8.12.10) with ESMTP id i8H8U7fQ039836 for ; Fri, 17 Sep 2004 08:30:07 GMT Received: from d12ml705.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i8H8U65t083696 for ; Fri, 17 Sep 2004 10:30:07 +0200 In-Reply-To: <414A3041.2070706@webartjapan.com> To: "Jakarta Commons Users List" MIME-Version: 1.0 Subject: Re: JEXL AND or OR node. X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Emmanuel Wurth Date: Fri, 17 Sep 2004 09:30:00 +0100 X-MIMETrack: Serialize by Router on D12ML705/12/M/IBM(Release 6.0.2CF2HF259 | March 11, 2004) at 17/09/2004 10:30:06, Serialize complete at 17/09/2004 10:30:06 Content-Type: multipart/alternative; boundary="=_alternative 002EB15C80256F12_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_alternative 002EB15C80256F12_= Content-Type: text/plain; charset="US-ASCII" Great, We were using an old revision of JEXL in which this was not implemented this way. Thank you for your help. Emmanuel Wurth Software Engineer Rational Software IBM Software Group 6, rue Brindejonc - Parc Grande Plaine 31505 TOULOUSE CEDEX Officel : +33 5.62.16.56.35 Office Fax: +33 5.62.88.42.99 Geoff Waggott 09/17/2004 01:30 AM Please respond to "Jakarta Commons Users List" To Jakarta Commons Users List cc Subject Re: JEXL AND or OR node. Hi, If you mean short-curcuit evaluation of these operators a la Java, JEXL already does this as the underlying code for the AND and OR node is just using the Java && and || operators anyway. Regards, Geoff Emmanuel Wurth wrote: >Hi > >To explain the context, we evalute java code snippet using JEXL, and in >order to increase the speed of the query, since we do not need to have a >complete evaluation of the expression, > i would have like to be able to return from the And node, skipping the >second call when this is possible, and have the same kind of faster >behavior for the or. > >Thanks. > >Emmanuel Wurth >Software Engineer >Rational Software >IBM Software Group >6, rue Brindejonc - Parc Grande Plaine >31505 TOULOUSE CEDEX >Officel : +33 5.62.16.56.35 >Office Fax: +33 5.62.88.42.99 > > > > > >Dion Gillard >09/16/2004 01:34 AM >Please respond to >"Jakarta Commons Users List" > > >To >Jakarta Commons Users List >cc > >Subject >Re: JEXL > > > > > > >Sure, it's being maintained. We've just done a long needed 1.0 release. > >What did you have in mind? How specifically would you change and & or? > > > > >On Wed, 15 Sep 2004 16:41:43 +0100, Emmanuel Wurth >wrote: > > >>Hi >> >>Does anybody knows if jexl is still maintained, i would like to know if >>there will be some enhancments to allow the users to change the >> >> >behaviour > > >>of some specific nodes (like And, Or ). >> >>Thanks. >> >>Emmanuel Wurth >>Software Engineer >>Rational Software >>IBM Software Group >>6, rue Brindejonc - Parc Grande Plaine >>31505 TOULOUSE CEDEX >>Officel : +33 5.62.16.56.35 >>Office Fax: +33 5.62.88.42.99 >> >> >> >> > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org --=_alternative 002EB15C80256F12_=--