Clean up method for DataSourceReader

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Clean up method for DataSourceReader

Shubham Chaurasia
Hi All,

Is there any way to receive some event that a DataSourceReader is finished? 
I want to do some clean up after all the DataReaders are finished reading and hence need some kind of cleanUp() mechanism at DataSourceReader(Driver) level.

How to achieve this?

For instance, in DataSourceWriter we can rely on commit() and abort() methods to know that all the DataWriters are finished.

Thanks,
Shubham