[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Query kernel objectsOfClass



On Wed, 11 Apr 2001, Dasarathi wrote:
> The method objectsOfClass in externalDatabase is not 
> implemented in ozone-6.1.I need it very much for our 
> query kernel work to proceed.
>   If someone has done it mail back

objectsOfClass() was a wrong way in the design of the API and should be finally
removed from the API. If the query kernel needs this function (and surely many
others that are not part of the native ozone API) then it has to implement it
itself. This of course will make the query kernel depend on internal ozone data
structures and APIs but this (in contrast to a ordinary client program) is no
problem.

Besides, das, it seems that you are following the way to treat all objects of a
class as a collection and apply the search on this class collection. Do you
think this approach is flexible enough to serve as a base for all (at least
many) query fron-ends? I mean, the Java object model itself doesn't have a
possibility to treat all objects of a class as collection. Only SQL/OQL and
related approaches do this...


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com