[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] @noimplement and @noextend annotation of IQuery
|
For example,
A java service records some deselected IUs, the query should exclude
those IUs in that list.
Another simpler case is querying the IUs whose id starts with specified
string.
--
Best Regards,
Meng Xin(Kane)
On Tue, 2010-03-09 at 19:32 -0800, Ian Bull wrote:
> 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
>
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev