batcher: Include batch number in LineBatch
To track the position of a given LineBatch
in the input stream, add a
batch_id
field to it. This is indexed from one for ease of calculating
line numbers, e.g. batch_id * BATCH_SIZE + linum_in_batch
;
To track the position of a given LineBatch
in the input stream, add a
batch_id
field to it. This is indexed from one for ease of calculating
line numbers, e.g. batch_id * BATCH_SIZE + linum_in_batch
;