Interface PartitionWriter.PartitionWriterListener
-
- All Known Implementing Classes:
PartitionWriter.DefaultPartitionWriterListener
- Enclosing interface:
- PartitionWriter<T>
public static interface PartitionWriter.PartitionWriterListener
Listener for partition writer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFileOpened(String partition, Path file)
Notifies a new file has been opened.
-
-
-
Method Detail
-
onFileOpened
void onFileOpened(String partition, 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.
-
-