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.
Currently there's no API to retrieve the
ColumnFamilyHandle
after opening. You can only get the column_family_handle inOpen()
, or when creating new column_family.