Skip to main content



      Home
Home » Modeling » EMF » [CDO] Query API
[CDO] Query API [message #429051] Tue, 07 April 2009 03:34 Go to next message
Eclipse UserFriend
Hi,

I'm progressing with the other stuff, but it occurred to me I've seen
nothing of the CDO Query API. Can someone point me in the direction or
examples of this API? How do I query for an object or set of objects via
CDO when I don't have a URI to start off with?

Thanks,
Matt
Re: [CDO] Query API [message #429055 is a reply to message #429051] Tue, 07 April 2009 05:16 Go to previous message
Eclipse UserFriend
Matthew,

The CDO Query API describes a generic query framework that abstracts and
implements the basic concepts and mechanisms to transport queries (i.e.
query strings and parameters) to the server, delegate to pluggable query
language handlers and return results synchronously or asynchronously
back to the client. The client API starts at CDOView.createQuery() and
the server SPI is two-fold: backend-specific query handlers are to be
implemented by the IStoreAccessors and common query handlers are
configured at the repository level via Repository.setQueryHandlerProvider().

Unfortunately nobody contributed concrete query handlers since we
published the generic query framework. There have been discussions about
OCL as a common query language:

245658: [Query] Provide OCL query language
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245658

But no progress so far ;-(

Cheers
/Eike

----
http://thegordian.blogspot.com



Matthew Watson schrieb:
> Hi,
>
> I'm progressing with the other stuff, but it occurred to me I've seen
> nothing of the CDO Query API. Can someone point me in the direction or
> examples of this API? How do I query for an object or set of objects
> via CDO when I don't have a URI to start off with?
>
> Thanks,
> Matt
>
Previous Topic:[teneo] org.hibernate.PropertyValueException when saving resource
Next Topic:Re: IPropertySource for EObject
Goto Forum:
  


Current Time: Wed Nov 05 09:40:57 EST 2025

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

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

Back to the top