C# dynamically intercepts and overwrites functions of third-party processes to implement function tampering (plug-ins)

Today I was reading a pdf document that I had collected before (introducing the relevant knowledge of C# plug-ins), and combined with the things on the Internet and personal understanding, I came up with this article. Reference article: [Selected] An article with an explanation of C# dynamic interception covering functions in third-party processes (essential for […]

Flink customizes sink and supports insert overwrite function

Foreword Customize flink sink. In batch mode, if you need insert overwrite or need to start a task or perform certain operations only once after the task is completed, you can refer to this article. Components: flink: 1.15 Reference documentation: https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/dev/table/sourcessinks/ Analysis insert overwrite means in batch mode, first clear the table data and then […]

EasyExcel verifies the data before importing and then chooses to overwrite import or add new import

Validate data before import 1. Create a generic EasyExcel listener import com.alibaba.excel.context.AnalysisContext; import com.alibaba.excel.metadata.CellExtra; import com.alibaba.excel.metadata.data.ReadCellData; import com.alibaba.excel.read.listener.ReadListener; import java.util.Map; /** * easyExcel general monitoring * @author: HouGJ * @date: 2023/5/12 15:02 * @Description: CommonExcelListener */ public class CommonEasyExcelListener<T> implements ReadListener<T> { private T t; public CommonEasyExcelListener(T t) { this.t = t; } @Override public […]