[Mono-list] Tree data storage on BerkeleyDB
Seun Osewa
osewa77@yahoo.com
Fri, 20 Sep 2002 08:48:48 -0700 (PDT)
What kind of key? Shucks, I should probably be
familiar with the windows registry if I had it.
I guess your key is a kind of compound key. Two keys
pointing to one data item. The simple solution is to
merge the two keys into one and use that one key as
the berkeleydb key. Since the keys are sorted its
easy to search on both of the keys or the first one.
I know my explanation is not complete enough, somebody
else will be clearer on this.
Bye!
--- Everaldo Canuto <everaldo.canuto@bol.com.br>
wrote:
> Hello,
>
> I'm create a wrapper for GDBM (BerkeleyDB) to use on
> Registry classes on
> Linux but I have one problem: BerkeleyDB theres one
> key for record and I
> need two keys for storage a tree data (hierarquical
> storage).
>
> Can you help me?
>
> Everald Canuto
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com