0

Alternatively, is there a way to get all the currently open ColumnFamilyHandles from a db?

I am aware of the static function RocksDB.listColumnFamilies. But this returns a List<byte[]> List containing the column family names. Not sure if there is a way to get ColumnFamilyHandle from here.

1 Answers1

0

Currently there's no API to retrieve the ColumnFamilyHandle after opening. You can only get the column_family_handle in Open(), or when creating new column_family.

Jay Zhuang
  • 321
  • 4
  • 9