Class PartitionWriter.DefaultPartitionWriterListener

    • Constructor Detail

      • DefaultPartitionWriterListener

        public DefaultPartitionWriterListener()
    • Method Detail

      • onFileOpened

        public void onFileOpened​(String partition,
                                 Path file)
        Description copied from interface: PartitionWriter.PartitionWriterListener
        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.

        Specified by:
        onFileOpened in interface PartitionWriter.PartitionWriterListener
        Parameters:
        partition - The partition for the newly opened file.
        file - The newly created file.