Next Generation Model Query

Today I gave a talk on the next generation EMF Model Query together with my colleague Christian Mohr. It was well attended and we got some really good feedback.

The EMF Model Query deals with finding EMF model elements. The current version has some limitations, especially with respect to scalability. The basic problem is that you have to pass in the EObjects you’d like to find in your result. This means that you have load all these elements. For large models this is not feasible. Another issue is the missing type safety for your queries. All these things among many others should go away with the new implementation.

The code for the new query is already in the CVS and build will start to show up soon (they are already available on Hudson). Here is a screen-shot to give you an impression of how the syntax looks like.


In one of my next posts I’ll give some more insights, so stay tuned :-)

And here you can download our slides

2 Responses to “Next Generation Model Query”

  1. 1 Víctor


    I did implement our own textual syntax for EMF Query 1.2.0 as well. What a pity I didn’t know about this before! We could have joined forces…

    Anyways, we will consider moving to EMF Query 2.0 in the future if it fits our needs :)

    Great job!

  2. 2 Bernd

    Thanks for your comment. If you are interested send me an email and we can discuss your needs :-)



Leave a Reply