@Override
    public void invoke(DemoData data, AnalysisContext context) {
        log.info("Parsed a piece of data: {}", JSON.toJSONString(data));
        if (cachedDataList.size() >= BATCH_COUNT) {
            saveData();
            cachedDataList = ListUtils.newArrayListWithExpectedSize(BATCH_COUNT);
        }
    }
This method is called for each header row.

@param headMap The header data as a map.
@param context The analysis context.
fastexcel-test/src/test/java/cn/idev/excel/test/demo/read/DemoHeadDataListener.java