0

How do you write data in column format in rocksdb.

Example of columns can be Id, state, URL, fieldNames, query;

I should be able to read all data giving Id.

user3634446
  • 133
  • 1
  • 10

1 Answers1

0

RocksDB is a key value store, so it doesn't have the concept of columns. What you can do, is to store a serialized object as value, which in your example would contain e.g. state, url, fieldnames and query, and use the id as key.

dunni
  • 43,386
  • 10
  • 104
  • 99