@Override
    public void invoke(DemoCompatibleHeaderData data, AnalysisContext context) {
        log.info("Parsed one data row:{}", JSON.toJSONString(data));
        cachedDataList.add(data);
        // When the cached data reaches BATCH_COUNT, store it to prevent OOM issues with large datasets.
        if (cachedDataList.size() >= BATCH_COUNT) {
            saveData();
            // Clear the list after storage.
            cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
        }
    }
This method is called for each parsed data row.

@param data    One row of data. It is the same as {@link AnalysisContext#readRowHolder()}.
@param context The analysis context.
fastexcel-test/src/test/java/cn/idev/excel/test/demo/read/DemoCompatibleHeaderDataListener.java