Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO][0.8.0] Handling Large Collection
[CDO][0.8.0] Handling Large Collection [message #609531] Sun, 26 August 2007 17:22
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi Eike,

Do you see any value to chunk collection from the server to the client ? It
is possible to do right now in your framework ?

The problem we have right now is the following.

We have objects that have many attributes. Many of them are ToMany
relationship. In each collection, you have between 100 000 and 500 000

When I fetch the object that own these collections... I don`t want to fetch
all of them.

So if we could fetch let`s say by chunk of 1000 thousand elements, it will
looks like the following

- ObjectA first fetch
- fetch CDOID for collection ObjectA.coll1 [0...1000].
- fetch CDOID for collection ObjectA.coll2 [0...1000].

If I want the last objects of the collection ObjectA.coll1 . I don`t need to
fetch all of them. I can fetch
[499000 to 499 999] (in the case where I have 500 000 item in my

It will be nice to have something hat looks like EStore :

CDORevisionImpl IStoreReader get(CDORevisionImpl object, CDOFeature feature,
int indexFrom, int indexTo);

This bring another problem... how we will write changes...if we have only
a part of it.

It will be nice to have only what changed instead of having the whole

Right now we have the following:
public void writeRevision(CDORevisionImpl revision);

WIll be better to have the following :
public void writeRevision(CDORevisionImpl revision, ListOfChanges .... );

Thank you.
Previous Topic:[CDO][0.8.0] EAnnotation
Next Topic:[CDO][0.8.0]
Goto Forum:

Current Time: Sat Aug 20 03:26:29 GMT 2022

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

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

Back to the top