mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve wall filter
This commit is contained in:
@@ -17,17 +17,27 @@ package com.alibaba.druid.wall;
|
||||
*/
|
||||
public class WallSqlTableStat {
|
||||
|
||||
private int selectCount;
|
||||
private int selectIntoCount;
|
||||
private int insertCount;
|
||||
private int updateCount;
|
||||
private int deleteCount;
|
||||
private int truncateCount;
|
||||
private int createCount;
|
||||
private int alterCount;
|
||||
private int dropCount;
|
||||
private int replaceCount;
|
||||
private int showCount;
|
||||
private int selectCount;
|
||||
private int selectIntoCount;
|
||||
private int insertCount;
|
||||
private int updateCount;
|
||||
private int deleteCount;
|
||||
private int truncateCount;
|
||||
private int createCount;
|
||||
private int alterCount;
|
||||
private int dropCount;
|
||||
private int replaceCount;
|
||||
private int showCount;
|
||||
|
||||
private String sample;
|
||||
|
||||
public String getSample() {
|
||||
return sample;
|
||||
}
|
||||
|
||||
public void setSample(String sample) {
|
||||
this.sample = sample;
|
||||
}
|
||||
|
||||
public int getReplaceCount() {
|
||||
return replaceCount;
|
||||
@@ -149,11 +159,10 @@ public class WallSqlTableStat {
|
||||
this.dropCount += value;
|
||||
}
|
||||
|
||||
|
||||
public int getShowCount() {
|
||||
return showCount;
|
||||
}
|
||||
|
||||
|
||||
public void incrementShowCount() {
|
||||
this.showCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user