com.alibaba.druid.wall
类 WallSqlStat

java.lang.Object
  继承者 com.alibaba.druid.wall.WallSqlStat

public class WallSqlStat
extends Object


构造方法摘要
WallSqlStat(Map<String,WallSqlTableStat> tableStats, Map<String,WallSqlFunctionStat> functionStats, boolean syntaxError)
           
WallSqlStat(Map<String,WallSqlTableStat> tableStats, Map<String,WallSqlFunctionStat> functionStats, List<Violation> violations, boolean syntaxError)
           
 
方法摘要
 long addAndFetchRowCount(long delta)
           
 void addUpdateCount(long delta)
           
 long getEffectRowCount()
           
 long getExecuteCount()
           
 long getExecuteErrorCount()
           
 Map<String,WallSqlFunctionStat> getFunctionStats()
           
 String getSample()
           
 long getSqlHash()
           
 WallSqlStatValue getStatValue(boolean reset)
           
 Map<String,WallSqlTableStat> getTableStats()
           
 long getUpdateCount()
           
 List<Violation> getViolations()
           
 long incrementAndGetExecuteCount()
           
 long incrementAndGetExecuteErrorCount()
           
 boolean isSyntaxError()
           
 void setSample(String sample)
           
 void setSqlHash(long sqlHash)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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.