class_docstr: A State Backend that stores its state in an embedded ``RocksDB`` instance. This state backend
  can store very large state that exceeds memory and spills to local disk.
  
  All key/value state (including windows) is stored in the key/value index of RocksDB.
  For persistence against loss of machines, please configure a CheckpointStorage instance
  for the Job.
  
  The behavior of the RocksDB instances can be parametrized by setting RocksDB Options
  using the methods :func:`set_predefined_options` and :func:`set_options`.
class_docstr_tok: ["A","State","Backend","that","stores","its","state","in","an","embedded","``","RocksDB","``","instance",".","This","state","backend","can","store","very","large","state","that","exceeds","memory","and","spills","to","local","disk",".","All","key\/value","state","(","including","windows",")","is","stored","in","the","key\/value","index","of","RocksDB",".","For","persistence","against","loss","of","machines",",","please","configure","a","CheckpointStorage","instance","for","the","Job",".","The","behavior","of","the","RocksDB","instances","can","be","parametrized","by","setting","RocksDB","Options","using","the","methods",":","func",":","`","set_predefined_options","`","and",":","func",":","`","set_options","`","."]
docstr: Sets ``org.rocksdb.Options`` for the RocksDB instances.
  Because the options are not serializable and hold native code references,
  they must be specified through a factory.
  
  The options created by the factory here are applied on top of the pre-defined
  options profile selected via :func:`set_predefined_options`  and user-configured
  options from configuration set through flink-conf.yaml with keys in
  ``RocksDBConfigurableOptions``.
  
  :param options_factory_class_name: The fully-qualified class name of the options
                                     factory in Java that lazily creates the RocksDB options.
                                     The options factory must have a default constructor.
code: def set_options(self, options_factory_class_name: str):
      """
      Sets ``org.rocksdb.Options`` for the RocksDB instances.
      Because the options are not serializable and hold native code references,
      they must be specified through a factory.
  
      The options created by the factory here are applied on top of the pre-defined
      options profile selected via :func:`set_predefined_options`  and user-configured
      options from configuration set through flink-conf.yaml with keys in
      ``RocksDBConfigurableOptions``.
  
      :param options_factory_class_name: The fully-qualified class name of the options
                                         factory in Java that lazily creates the RocksDB options.
                                         The options factory must have a default constructor.
      """
      gateway = get_gateway()
      JOptionsFactory = (
          gateway.jvm.org.apache.flink.contrib.streaming.state.RocksDBOptionsFactory
      )
      j_options_factory_clz = load_java_class(
          options_factory_class_name
      )
      if not get_java_class(JOptionsFactory).isAssignableFrom(
          j_options_factory_clz
      ):
          raise ValueError(
              "The input class does not implement RocksDBOptionsFactory."
          )
      self._j_state_backend.setRocksDBOptions(
          j_options_factory_clz.newInstance()
      )
  
imports: from abc import ABCMeta
  from enum import Enum
  from py4j.java_gateway import get_java_class
  from typing import List, Optional
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import load_java_class
label_desc: Use image node_id 7 for calling the EmbeddedRocksDBStateBackend obj's underlying member method code with example usage: obj.set_options(options_factory_class_name) without return types