CoreData async fetch request
CoreData async fetch request
- Subject: CoreData async fetch request
- From: David Melgar <email@hidden>
- Date: Fri, 2 Oct 2009 20:48:29 -0400
Is there a way to do an asynchronous fetch request against Core data
returning partial results?
The only means I've found to fetch is via the [ManagedObjectContext
executeFetchRequest] method.
And there does not seem to be a way to retrieve partial results. In
the Core Data Programming Guide under Core Data performance, it
specifically states that there is not an equivalent to database
cursors. You cannot retrieve partial results then get the next set.
So, bottom line, if I'm working with a large set of data and execute a
long running query, I cannot display any result until everything is
returned.
And if the user makes a mistake and requests something with an
unreasonably large response set, I don't have a way to page through
it, I can either get everything or truncate the result.
Frankly, these seem like basic requirements for interacting with data.
1) Asynchronous non-blocking requests
2) Ability to work through a partial result
I don't understand why Coredata doesn't provide these basic functions.
Is there a way that I'm not seeing?
Obviously, Apple's own Spotlight could not use something like
Coredata, since it heavily relies on returning asynchronous partial
results.
Frankly, this is my second application I've attempted to use Coredata
to find it come up surprisingly short. The first time the issue was
core data not being thread safe.
What is the target market for Core Data? Why sort of application is
ideal for its use? What size data store? Right now it escapes me.
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden