Aug 11th, 2008, 05:36 AM
Any way to get the total count of input data set
My use case is to enable my step able to report the percentage of completion on each commit. To achieve that, I need count the total size of input data set (e.g. the no. of line in a file).
To my understanding, it has no out-of-the-box way to do the titled thing in SB. Please correct me if don't.
If I want to implement such thing what, I think think of some of the following plug-in point to calculate the total item count:
- at StepExecution.beforeStep
- at Reader
which one is better or any comments on these? Or any new direction for doing this?
Tags for this Thread