Re: something like an Index?
"Nicolas Barrera" <[email protected]> Mon, 17 Apr 2006 09:28:53 -0300
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
As far as i 'm concerned.., ozone developers 're opposed to the idea of having some kind of query language that would for example aid you to ask for 'all persons whose name starts with "Q" and whose id is lower than 5 (etc, etc,)....' in just one sentence If you re working with ozone you 'll ask the db for an object which contain references to your persons collection and then you 'd iterate and filter that collection in a really Object-Oriented-Programming way. Off-topic: i totally agree with these guys in that the OOP way is the nicer and better-looking (and even the correct one), but i 'm not sure if performance is a drawback for this focus or not. greetings, hope i ve give you some hint.., lastly, if you 're looking for indexes in ozone.... well i belive that ozone users don't care about indexes, they care about OBJECTS, so as i said earlier, you pick up your collection and iterate it. c ya! On 4/15/06, Martin Walch <[email protected]> wrote: > Hello, > > I'm new to ozone and also rather new to databases in general. > For my current project some kind of OODBMS seems to be a good choice. > However, beside some rather complex structures, I've got also long lists > of Objects of the same class. > Concretely: I have got a list of persons with names, addresses, ids and s= o on. > I need to find somebody in this list either by name or by id. Both option= s must work fast. > So in a RDBMS like e. g. MySQL I would probably create an index for names= and one for ids. > Well, this is no RDBMS. > > How can I implement this in Ozone? > _______________________________________________________________ > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=3D021192 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642