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