class_docstr: Defines all parameters that initialize a table environment. Those parameters are used only
  during instantiation of a :class:`~pyflink.table.TableEnvironment` and cannot be changed
  afterwards.
  
  Example:
  ::
  
      >>> EnvironmentSettings.new_instance() \
      ...     .in_streaming_mode() \
      ...     .with_built_in_catalog_name("my_catalog") \
      ...     .with_built_in_database_name("my_database") \
      ...     .build()
  
  :func:`~EnvironmentSettings.in_streaming_mode` or :func:`~EnvironmentSettings.in_batch_mode`
  might be convenient as shortcuts.
docstr: Creates a default instance of EnvironmentSettings in batch execution mode.
  
  This mode is highly optimized for batch scenarios. Only bounded data streams can be
  processed in this mode.
  
  This method is a shortcut for creating a :class:`~pyflink.table.TableEnvironment` with
  little code. Use the builder provided in :func:`EnvironmentSettings.new_instance` for
  advanced settings.
  
  :return: EnvironmentSettings.
docstr_tok: ["Creates","a","default","instance","of","EnvironmentSettings","in","batch","execution","mode",".","This","mode","is","highly","optimized","for","batch","scenarios",".","Only","bounded","data","streams","can","be","processed","in","this","mode",".","This","method","is","a","shortcut","for","creating","a",":","class",":","`","~pyflink.table.TableEnvironment","`","with","little","code",".","Use","the","builder","provided","in",":","func",":","`","EnvironmentSettings.new_instance","`","for","advanced","settings",".",":","return",":","EnvironmentSettings","."]
code: def in_batch_mode() -> "EnvironmentSettings":
      """
      Creates a default instance of EnvironmentSettings in batch execution mode.
  
      This mode is highly optimized for batch scenarios. Only bounded data streams can be
      processed in this mode.
  
      This method is a shortcut for creating a :class:`~pyflink.table.TableEnvironment` with
      little code. Use the builder provided in :func:`EnvironmentSettings.new_instance` for
      advanced settings.
  
      :return: EnvironmentSettings.
      """
      return EnvironmentSettings.new_instance().in_batch_mode().build()
  
file_path: flink/flink-python/pyflink/table/environment_settings.py
imports: import warnings
  from pyflink.java_gateway import get_gateway
  from pyflink.util.java_utils import create_url_class_loader
  from pyflink.common import Configuration
label_desc: Use image node_id 10 for calling the EnvironmentSettings obj's underlying member method code with example usage: obj.in_batch_mode() and returns: EnvironmentSettings