Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.table_descriptor.TableDescriptor.Builder.option#

Builder.option(key: Union[str, ConfigOption], value) → Builder#

Sets the given option on the table.

Option keys must be fully specified. When defining options for a Format, use format(FormatDescriptor) instead.

Example:

>>> TableDescriptor.for_connector("kafka")                 ...     .option("scan.startup.mode", "latest-offset")                 ...     .build()

previous

pyflink.table.table_descriptor.TableDescriptor.Builder.schema

next

pyflink.table.table_descriptor.TableDescriptor.Builder.format

On this page
  • Builder.option()
Show Source

Created using Sphinx 5.3.0.