Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Finding commits matching specific predicate
[CDO] Finding commits matching specific predicate [message #1701176] Thu, 09 July 2015 16:10 Go to next message
Leonid Ripeynih is currently offline Leonid RipeynihFriend
Messages: 150
Registered: February 2012
Senior Member
Hello!

I'm trying to implement searching in CDO history. For example, finding all commits, deliting or chaning objects of specific type.

Currently, the only solution I've came to is use handleCommitInfo, load commit data and match it against the predicate. But loading commit info data seems very expensive (especially on client side). Is there more efficient methods to accomplish this task?
Re: [CDO] Finding commits matching specific predicate [message #1701177 is a reply to message #1701176] Thu, 09 July 2015 16:20 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6450
Registered: July 2009
Senior Member
Am 09.07.2015 um 18:10 schrieb Leonid Ripeynih:
> Hello!
>
> I'm trying to implement searching in CDO history. For example, finding all commits, deliting or chaning objects of
> specific type.
>
> Currently, the only solution I've came to is use handleCommitInfo, load commit data and match it against the
> predicate. But loading commit info data seems very expensive (especially on client side). Is there more efficient
> methods to accomplish this task?
I don't think so. A more efficient solution would likely include new ISignals (application network protocol) and new
IStore API. Maybe new ISignals could be avoided if instead a new standard IQueryHandler was implemented; which could, in
theory, also avoid the new IStore API.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:I don't understand TransactionalEditingDomain.runExclusive
Next Topic:Im new with EMF and need some help
Goto Forum:
  


Current Time: Thu Nov 14 03:53:37 GMT 2019

Powered by FUDForum. Page generated in 0.01417 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top