Skip to main content



      Home
Home » Modeling » EMF » [CDO] Finding commits matching specific predicate
[CDO] Finding commits matching specific predicate [message #1701176] Thu, 09 July 2015 12:10 Go to next message
Eclipse UserFriend
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 12:20 Go to previous message
Eclipse UserFriend
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 Jul 03 10:29:37 EDT 2025

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

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

Back to the top