improve monitor-support

This commit is contained in:
wenshao
2013-08-18 00:41:07 +08:00
parent f9a06e7a85
commit 26419df2fd
10 changed files with 355 additions and 52 deletions
@@ -44,6 +44,8 @@ public class WallSqlStat {
private String sample;
private long sqlHash;
public WallSqlStat(Map<String, WallSqlTableStat> tableStats, Map<String, WallSqlFunctionStat> functionStats,
boolean syntaxError){
this(tableStats, functionStats, Collections.<Violation> emptyList(), syntaxError);
@@ -57,6 +59,14 @@ public class WallSqlStat {
this.syntaxError = syntaxError;
}
public long getSqlHash() {
return sqlHash;
}
public void setSqlHash(long sqlHash) {
this.sqlHash = sqlHash;
}
public String getSample() {
return sample;
}