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 DataFrame
  • PyFlink Multimodal
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.expression.Expression.mime_type#

Expression.mime_type() → pyflink.table.expression.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.

New in version 1.12.0.

previous

pyflink.table.expression.Expression.elt

next

pyflink.table.expression.Expression.fetch_content

Show Source

Created using Sphinx 4.5.0.