pyflink.common.config_options.ConfigOptions#
- class ConfigOptions(j_config_options)[source]#
{@code ConfigOptions} are used to build a
ConfigOption
. The option is typically built in one of the following patterns:Example:
# simple string-valued option with a default value >>> ConfigOptions.key("tmp.dir").string_type().default_value("/tmp") # simple integer-valued option with a default value >>> ConfigOptions.key("application.parallelism").int_type().default_value(100) # option with no default value >>> ConfigOptions.key("user.name").string_type().no_default_value()
Methods
key
(key)Starts building a new ConfigOption.