Package com.alibaba.druid.wall
Class WallCheckResult
- java.lang.Object
-
- com.alibaba.druid.wall.WallCheckResult
-
public class WallCheckResult extends Object
-
-
Constructor Summary
Constructors Constructor Description WallCheckResult()WallCheckResult(WallSqlStat sqlStat)WallCheckResult(WallSqlStat sqlStat, List<SQLStatement> stmtList)WallCheckResult(WallSqlStat sqlStat, List<Violation> violations, Map<String,WallSqlTableStat> tableStats, Map<String,WallSqlFunctionStat> functionStats, List<SQLStatement> statementList, boolean syntaxError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,WallSqlFunctionStat>getFunctionStats()StringgetSql()WallSqlStatgetSqlStat()List<SQLStatement>getStatementList()Map<String,WallSqlTableStat>getTableStats()List<WallUpdateCheckItem>getUpdateCheckItems()List<Violation>getViolations()booleanisSyntaxError()voidsetSql(String sql)voidsetUpdateCheckItems(List<WallUpdateCheckItem> updateCheckItems)
-
-
-
Constructor Detail
-
WallCheckResult
public WallCheckResult()
-
WallCheckResult
public WallCheckResult(WallSqlStat sqlStat, List<SQLStatement> stmtList)
-
WallCheckResult
public WallCheckResult(WallSqlStat sqlStat)
-
WallCheckResult
public WallCheckResult(WallSqlStat sqlStat, List<Violation> violations, Map<String,WallSqlTableStat> tableStats, Map<String,WallSqlFunctionStat> functionStats, List<SQLStatement> statementList, boolean syntaxError)
-
-
Method Detail
-
getSql
public String getSql()
-
setSql
public void setSql(String sql)
-
getStatementList
public List<SQLStatement> getStatementList()
-
getTableStats
public Map<String,WallSqlTableStat> getTableStats()
-
getFunctionStats
public Map<String,WallSqlFunctionStat> getFunctionStats()
-
isSyntaxError
public boolean isSyntaxError()
-
getSqlStat
public WallSqlStat getSqlStat()
-
getUpdateCheckItems
public List<WallUpdateCheckItem> getUpdateCheckItems()
-
setUpdateCheckItems
public void setUpdateCheckItems(List<WallUpdateCheckItem> updateCheckItems)
-
-