easyexcel icon indicating copy to clipboard operation
easyexcel copied to clipboard

需要一个写入监听

Open wisekingokok opened this issue 6 months ago • 0 comments

建议描述

需求是将百万行级的数据库数据写入到 Excel,每一行有100多列,需要监听写入进度。

通过阅读源码发现有一个 RowWriteHandler 可供注册,但是RowWriteHandler.afterRowDispose的代码描述是:“Called after all operations on the row have been completed. In the case of the fill , may be called many times.”,所以在 fill 模式下,afterRowDispose的调用次数是不正确的。

通过网络搜索,发现可行方案集中是通过批量写入的方式,通过监听写入量来判断大致的进度,这与希望还是有少许差距。

希望能提供监听实时写入进度的方案。

wisekingokok avatar Aug 28 '24 02:08 wisekingokok