Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Expressions
  • pyflink.table.expression.Expression.mime_type

pyflink.table.expression.Expression.mime_type#

Expression.mime_type() → Expression[source]#

Returns the MIME type based on the file extension in the given URI or object key.

Supported formats: bmp, jpg/jpeg/jpe, png, tif/tiff, webp, heic, pdf. Unsupported or unrecognized extensions are mapped to ‘application/other’.

Returns:

A STRING representing the MIME type.

Added in version 1.12.0.

previous

pyflink.table.expression.Expression.elt

next

pyflink.table.expression.Expression.fetch_content

On this page
  • Expression.mime_type()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.