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

RE: java Collections



Couldn't you hack a solution to this using a hierarchy of nested SortedMaps?
The top sorted map contains a sortedmap for a* values, another for b*
values, etc. You could extend a new SortedMap class that makes getting
values by referencing lower SortedMaps transparent. You could use
serialization to only load the ones you need immediately...

And so on. And then have whatever you end up with extend OzoneObject, add an
ozone remote class and you're done.

Reason
http://www.exratio.com/

> -----Original Message-----
> From: owner-ozone-users@ozone-db.org
> [mailto:owner-ozone-users@ozone-db.org]On Behalf Of newsham@hotu.com
> Sent: Thursday, August 16, 2001 12:12 PM
> To: ozone-users@ozone-db.org
> Subject: java Collections
>
>
>
> Hello,
>
> I'm considering using ozone for a project (just started looking
> at it), but looking
> through the API documentation, I find no implementations of java.util.Map,
> java.util.SortedMap, java.util.Set, java.util.SortedSet, which I
> need.  I found a
> few implementations of other java collections in package
> org.ozoneDB.odmg.  I need
> these collections to contain thousands or perhaps millions of
> objects, so keeping
> the entire collection in memory at once (such as the standard
> java implementations
> do) will not work.  Any suggestions?
>
> I am not so much interested in a database which allows inserts
> and queries by
> identity, but rather a database which consists of (a potentially
> quite large graph
> of) persistent objects, which may be accessed by "reachability"
> of member methods
> and fields.  Quoting from the ozone site, "The main goal of ozone
> is to add
> persistence and transactions to the Java object model in a
> transparent manner.
> ozone applications should look and work like ordinary Java
> applications."  That
> would be quite nice.
>
> Thanks,
>
> Jim Newsham
>
>
>
>
>
> ----------------------------------------------------------------------
> Post a message:         mailto:ozone-users@ozone-db.org
> Unsubscribe:
> mailto:ozone-users-request@ozone-db.org?body=unsubscribe
> Contact administrator:  mailto:ozone-users-owner@ozone-db.org
> Read archived messages: http://www.ozone-db.org/
> ----------------------------------------------------------------------

----------------------------------------------------------------------
Post a message:         mailto:ozone-users@ozone-db.org
Unsubscribe:            mailto:ozone-users-request@ozone-db.org?body=unsubscribe
Contact administrator:  mailto:ozone-users-owner@ozone-db.org
Read archived messages: http://www.ozone-db.org/
----------------------------------------------------------------------