Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] @noimplement and @noextend annotation of IQuery

It would be interesting to understand what types of queries cannot be expressed with the _expression_ Language.  

In the worst case you could write an _expression_ query that returns all the results and iterate through the list choosing the ones you want.  This is obviously less than optimal though.

cheers,
ian

On Tue, Mar 9, 2010 at 7:12 PM, Meng Xin Zhu <kane.zhu@xxxxxxxxxxxxx> wrote:
I know p2 want developers using _expression_ query instead of directly
implementing IQuery interface.
However some query conditions can't be translated to _expression_. So we
have to implement the IQuery interface. Those two annotation might let
PDE warn the concrete class illegally.
I think it's a pervasive case, the _expression_ can't cover all what users
want to compare. And directly implementing IQuery give us the biggest
capability.



--
Best Regards,
Meng Xin(Kane)


_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource

Back to the top