dbTalk Databases Forums  

HASHSET store to berkeley.db

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss HASHSET store to berkeley.db in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
b52mn@yahoo.com
 
Posts: n/a

Default HASHSET store to berkeley.db - 01-26-2006 , 03:24 AM






Hi All,

Is there a way to store the data of hashset to berkeley db.
Because hashset is memory hungry.

Thanks,

J.Batbileg


Reply With Quote
  #2  
Old   
mark@sleepycat.com
 
Posts: n/a

Default Re: HASHSET store to berkeley.db - 01-26-2006 , 10:53 AM






Hi,

If you are asking about the Java HashSet class, and you wish to store
individual elements of a set as records in a database, then the answer
is yes, this is possible with Berkeley DB. You can store Java Maps and
Sets using the Berkeley DB Collections API. Please see:

http://sleepycat.com/docs/collection...ial/index.html

I hope this helps,
Mark


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.