code: public static RocksDbWrapper openReadWrite(File directory, DBOptions dbOptions,
              ReadOptions readOptions, WriteOptions writeOptions, String... columnFamilies)
              throws RocksDbException, IOException {
          RocksDbWrapper rocksDbWrapper = new RocksDbWrapper(directory, false);
          rocksDbWrapper.setDbOptions(dbOptions).setReadOptions(readOptions)
                  .setWriteOptions(writeOptions);
          rocksDbWrapper.setColumnFamilies(RocksDbUtils.buildColumnFamilyDescriptors(columnFamilies));
          rocksDbWrapper.init();
          return rocksDbWrapper;
      }
docs: Open a {@link RocksDB} with specified options in read/write mode.
  
  @param directory
  directory to store {@link RocksDB} data
  @param dbOptions
  @param readOptions
  @param writeOptions
  @param columnFamilies
  list of column families to store key/value (the column family
  "default" will be automatically added)
  @return
  @throws RocksDbException
  @throws IOException