Package com.alibaba.druid.wall.spi
Class MySqlWallProvider
- java.lang.Object
-
- com.alibaba.druid.wall.WallProvider
-
- com.alibaba.druid.wall.spi.MySqlWallProvider
-
public class MySqlWallProvider extends WallProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.alibaba.druid.wall.WallProvider
WallProvider.WallCommentHandler
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_CONFIG_DIR-
Fields inherited from class com.alibaba.druid.wall.WallProvider
BLACK_SQL_MAX_SIZE, blackListHitCount, checkCount, commentDeniedStat, config, dbType, hardCheckCount, syntaxErrorCount, violationCount, violationEffectRowCount, whiteListHitCount
-
-
Constructor Summary
Constructors Constructor Description MySqlWallProvider()MySqlWallProvider(WallConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportParameterVisitorcreateExportParameterVisitor()SQLStatementParsercreateParser(String sql)WallVisitorcreateWallVisitor()-
Methods inherited from class com.alibaba.druid.wall.WallProvider
addBlackSql, addFetchRowCount, addUpdateCount, addViolationEffectRowCount, addWhiteSql, check, checkDenyFunction, checkDenySchema, checkDenyTable, checkReadOnlyTable, checkValid, clearBlackList, clearCache, clearWhiteList, doPrivileged, getAttributes, getBlackList, getBlackListHitCount, getBlackSql, getCheckCount, getCommentDenyStat, getConfig, getFunctionStat, getFunctionStats, getFunctionStatWithLowerName, getHardCheckCount, getName, getSqlList, getSqlStat, getStatsMap, getStatValue, getSyntaxErrorCount, getTableStat, getTableStats, getTableStatWithLowerName, getTenantValue, getViolationCount, getViolationEffectRowCount, getWhiteList, getWhiteListHitCount, getWhiteSql, incrementCommentDeniedCount, isBlackListEnable, ispPrivileged, isWhiteListEnable, reset, setBlackListEnable, setName, setTenantValue, setWhiteListEnable, whiteContains
-
-
-
-
Field Detail
-
DEFAULT_CONFIG_DIR
public static final String DEFAULT_CONFIG_DIR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MySqlWallProvider
public MySqlWallProvider()
-
MySqlWallProvider
public MySqlWallProvider(WallConfig config)
-
-
Method Detail
-
createParser
public SQLStatementParser createParser(String sql)
- Specified by:
createParserin classWallProvider
-
createWallVisitor
public WallVisitor createWallVisitor()
- Specified by:
createWallVisitorin classWallProvider
-
createExportParameterVisitor
public ExportParameterVisitor createExportParameterVisitor()
- Specified by:
createExportParameterVisitorin classWallProvider
-
-