Class FormatDescriptor.Builder

    • Method Detail

      • option

        public <T> FormatDescriptor.Builder option​(org.apache.flink.configuration.ConfigOption<T> configOption,
                                                   T value)
        Sets the given option on the format.
      • option

        public FormatDescriptor.Builder option​(String key,
                                               String value)
        Sets the given option on the format.

        Note that format options must not be prefixed with the format identifier itself here. For example,

        
         FormatDescriptor.forFormat("json")
           .option("ignore-parse-errors", "true")
           .build();
         

        will automatically be converted into its prefixed form:

        
         'format' = 'json'
         'json.ignore-parse-errors' = 'true'