com.alibaba.druid.wall
类 WallSqlStat
java.lang.Object
com.alibaba.druid.wall.WallSqlStat
public class WallSqlStat
- extends Object
WallSqlStat
public WallSqlStat(Map<String,WallSqlTableStat> tableStats,
Map<String,WallSqlFunctionStat> functionStats,
boolean syntaxError)
WallSqlStat
public WallSqlStat(Map<String,WallSqlTableStat> tableStats,
Map<String,WallSqlFunctionStat> functionStats,
List<Violation> violations,
boolean syntaxError)
getSqlHash
public long getSqlHash()
setSqlHash
public void setSqlHash(long sqlHash)
getSample
public String getSample()
setSample
public void setSample(String sample)
incrementAndGetExecuteCount
public long incrementAndGetExecuteCount()
incrementAndGetExecuteErrorCount
public long incrementAndGetExecuteErrorCount()
getExecuteCount
public long getExecuteCount()
getExecuteErrorCount
public long getExecuteErrorCount()
addAndFetchRowCount
public long addAndFetchRowCount(long delta)
getEffectRowCount
public long getEffectRowCount()
getUpdateCount
public long getUpdateCount()
addUpdateCount
public void addUpdateCount(long delta)
getTableStats
public Map<String,WallSqlTableStat> getTableStats()
getFunctionStats
public Map<String,WallSqlFunctionStat> getFunctionStats()
getViolations
public List<Violation> getViolations()
isSyntaxError
public boolean isSyntaxError()
getStatValue
public WallSqlStatValue getStatValue(boolean reset)
Copyright © 2013 Alibaba Group. All Rights Reserved.