[CDO] Finding commits matching specific predicate [message #1701176] |
Thu, 09 July 2015 12:10  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05719 seconds