public static class PartitionWriter.DefaultPartitionWriterListener extends Object implements PartitionWriter.PartitionWriterListener
| Constructor and Description |
|---|
DefaultPartitionWriterListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFileOpened(String partition,
org.apache.flink.core.fs.Path file)
Notifies a new file has been opened.
|
public void onFileOpened(String partition, org.apache.flink.core.fs.Path file)
PartitionWriter.PartitionWriterListenerNote 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.
onFileOpened in interface PartitionWriter.PartitionWriterListenerpartition - The partition for the newly opened file.file - The newly created file.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.