Search code examples
nosqlkey-valuetokyo-cabinetkyotocabinet

does kyoto cabinet support key range search?


Does Kyoto Cabinet support searching for a range of keys? If so, what types of keys do support range search? Can I do range search on a long (64bit) key?

Thanks RG


Solution

  • LevelDB supports binary keys and ranged queries.

    Edit: I forgot to mention that in order for the range query to work, the binary value needs to be packed in a comparable way. For your long example, you need to make sure it's big-endian encoded.