@Override
    public Object parse(SourceData sourceData, int rowIndex, Context context) {
        if (parserList.size() % 2 != 0) {
            throw new IllegalArgumentException("Input values must be in key-value pairs.");
        }
        Map<Object, Object> res = new LinkedHashMap<>();

        for (int i = 0; i < parserList.size(); i += 2) {
            Object key = parserList.get(i).parse(sourceData, rowIndex, context);
            Object value = parserList.get(i + 1).parse(sourceData, rowIndex, context);
            res.put(key, value);
        }
        return res;
    }
MapFunction  ->  MAP(value1, value2, ...)
description:
- Return NULL if the number of parameters is not even
- Return a map created from a list of key-value pairs ((value1, value2), ... )
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/function/collection/MapFunction.java