Class LoggerOutputFormat

  • All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.io.OutputFormat<String>

    @Internal
    public class LoggerOutputFormat
    extends Object
    implements org.apache.flink.api.common.io.OutputFormat<String>
    A basic output format that logs all records at level INFO.
    See Also:
    Serialized Form
    • Constructor Detail

      • LoggerOutputFormat

        public LoggerOutputFormat()
    • Method Detail

      • configure

        public void configure​(org.apache.flink.configuration.Configuration parameters)
        Specified by:
        configure in interface org.apache.flink.api.common.io.OutputFormat<String>
      • open

        public void open​(org.apache.flink.api.common.io.OutputFormat.InitializationContext context)
        Specified by:
        open in interface org.apache.flink.api.common.io.OutputFormat<String>
      • writeRecord

        public void writeRecord​(String record)
        Specified by:
        writeRecord in interface org.apache.flink.api.common.io.OutputFormat<String>
      • close

        public void close()
        Specified by:
        close in interface org.apache.flink.api.common.io.OutputFormat<String>