Package org.aoju.bus.starter.mapper
Class ExplainSqlHandler
java.lang.Object
org.aoju.bus.mapper.handler.AbstractSqlHandler
org.aoju.bus.starter.mapper.AbstractSqlParserHandler
org.aoju.bus.starter.mapper.ExplainSqlHandler
- All Implemented Interfaces:
org.aoju.bus.mapper.handler.SQLHandler,org.apache.ibatis.plugin.Interceptor
@Intercepts(@Signature(type=org.apache.ibatis.executor.Executor.class,method="update",args={org.apache.ibatis.mapping.MappedStatement.class,Object.class}))
public class ExplainSqlHandler
extends AbstractSqlParserHandler
implements org.apache.ibatis.plugin.Interceptor
防止全表更新与删除
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class org.aoju.bus.mapper.handler.AbstractSqlHandler
DELEGATE_BOUNDSQL, DELEGATE_BOUNDSQL_SQL, DELEGATE_MAPPEDSTATEMENT, MAPPEDSTATEMENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.aoju.bus.starter.mapper.AbstractSqlParserHandler
allowProcess, doFilter, parser, processDelete, processInsert, processParser, processSelectBody, processUpdateMethods inherited from class org.aoju.bus.mapper.handler.AbstractSqlHandler
getMappedStatement, getMappedStatement, getSqlParserInfo, realTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ibatis.plugin.Interceptor
setPropertiesMethods inherited from interface org.aoju.bus.mapper.handler.SQLHandler
afterCompletion, postHandle, preHandle
-
Constructor Details
-
ExplainSqlHandler
public ExplainSqlHandler()
-
-
Method Details
-
intercept
-
plugin
-