[英]Spring Batch | Read Count = Filter + Write?
When running Spring Batch application, i see at some places in STEP_EXECUTION
table, that 当运行Spring Batch应用程序时,我在
STEP_EXECUTION
表的某些位置看到
`Read Count > Filter + Write`?
Should not it be equal? 不应该相等吗?
Not necessarily. 不必要。 If an item was skipped for example, it would have been read, but not filtered or written.
例如,如果某个项目被跳过,则该项目将被读取,但未被过滤或写入。 For the record, the filter count is the count of times the
ItemProcessor
returned null which is different than an item being skipped due to a skippable exception being thrown. 对于记录,过滤器计数是
ItemProcessor
返回null的次数,该计数与由于引发可跳过的异常而被跳过的项目不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.