Mapper File
Create a query workload from a Mybatis Mapper file.
How to get SQLs from a mapper file
PawSQL will traverse all the nodes of the Mybatis mapper file and permute all the possible SQL structures. There is a high possibility that some SQLs generated by PawSQL will never appear in real application. So you should exclude those SQLs.
Filter unused SQLs
You can filter unused SQLs during you create an optimization,