Interface PartitionWriter.PartitionWriterListener

All Known Implementing Classes:
PartitionWriter.DefaultPartitionWriterListener
Enclosing interface:
PartitionWriter<T>

public static interface PartitionWriter.PartitionWriterListener
Listener for partition writer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFileOpened(String partition, org.apache.flink.core.fs.Path file)
    Notifies a new file has been opened.
  • Method Details

    • onFileOpened

      void onFileOpened(String partition, org.apache.flink.core.fs.Path file)
      Notifies a new file has been opened.

      Note that this does not mean that the file has been created in the file system. It is only created logically and the actual file will be generated after it is committed.

      Parameters:
      partition - The partition for the newly opened file.
      file - The newly created file.