sorted set

22 views
Skip to first unread message

ib84

unread,
Jan 25, 2011, 9:56:46 AM1/25/11
to kr...@googlegroups.com
hi,

I'm evaluating Krati for a student project, as a replacement of BDB for HypergraphDB. 

I was wondering if there is support for
- multiple values on single key
- sorted sets, i.e. definable order
- read/write/delete any particular key / key range.

thanks for an answer

regards,
Ingvar

Jingwei

unread,
Feb 4, 2011, 1:37:52 PM2/4/11
to Krati
Hi,

Krati does not provide built-in support for multivalues on a single
key. However, it is entirely up to application to decide how to
organize multi-values into an object and then put that object into
Krati. In one of Krati-based applications, we use protobuf to compose
complex objects and then put protobuf objects into krati.

Krati does not support for sorted set because it is not built on btree
structure. This is intended to achieve the fasted equality search by
hashing. As of result, krati does not support range operations over
keys. You can only work with individual keys (put/get/delete).

Thanks.

-jingwei
Reply all
Reply to author
Forward
0 new messages