code: public static String[] getColumnFamilyList(String path) throws RocksDBException {
          List<byte[]> cfList = RocksDB.listColumnFamilies(new Options(), path);
          if (cfList == null || cfList.size() == 0) {
              return ArrayUtils.EMPTY_STRING_ARRAY;
          }
          List<String> result = new ArrayList<>(cfList.size());
          for (byte[] cf : cfList) {
              result.add(new String(cf, StandardCharsets.UTF_8));
          }
          return result.toArray(ArrayUtils.EMPTY_STRING_ARRAY);
      }
docs: Gets all available column family names from a RocksDb data directory.
  
  @param path
  @return
  @throws RocksDBException