class_docstr: Describes a Format and its options for use with :class:`~pyflink.table.TableDescriptor`.
  
  Formats are responsible for encoding and decoding data in table connectors. Note that not
  every connector has a format, while others may have multiple formats (e.g. the Kafka connector
  has separate formats for keys and values). Common formats are "json", "csv", "avro", etc.
code: def __init__(self, j_format_descriptor):
      self._j_format_descriptor = j_format_descriptor
  
imports: from typing import Dict, Union, List, Optional
  from pyflink.common.config_options import ConfigOption
  from pyflink.java_gateway import get_gateway
  from pyflink.table.schema import Schema
  from pyflink.util.java_utils import to_jarray
label_desc: Use image node_id 1 to create a new FormatDescriptor object from inherited base classes: object with example: obj = FormatDescriptor(j_format_descriptor)