Class WallContext

java.lang.Object
com.alibaba.druid.wall.WallContext

public class WallContext extends Object
  • Constructor Details

    • WallContext

      public WallContext(String dbType)
    • WallContext

      public WallContext(DbType dbType)
  • Method Details

    • incrementFunctionInvoke

      public void incrementFunctionInvoke(String tableName)
    • getTableStat

      public WallSqlTableStat getTableStat(String tableName)
    • createIfNotExists

      public static WallContext createIfNotExists(DbType dbType)
    • create

      public static WallContext create(String dbType)
    • create

      public static WallContext create(DbType dbType)
    • current

      public static WallContext current()
    • clearContext

      public static void clearContext()
    • setContext

      public static void setContext(WallContext context)
    • getSqlStat

      public WallSqlStat getSqlStat()
    • setSqlStat

      public void setSqlStat(WallSqlStat sqlStat)
    • getTableStats

      public Map<String,WallSqlTableStat> getTableStats()
    • getFunctionStats

      public Map<String,WallSqlFunctionStat> getFunctionStats()
    • getDbType

      public DbType getDbType()
    • getCommentCount

      public int getCommentCount()
    • incrementCommentCount

      public void incrementCommentCount()
    • getWarnings

      public int getWarnings()
    • incrementWarnings

      public void incrementWarnings()
    • getLikeNumberWarnings

      public int getLikeNumberWarnings()
    • incrementLikeNumberWarnings

      public void incrementLikeNumberWarnings()
    • getUnionWarnings

      public int getUnionWarnings()
    • incrementUnionWarnings

      public void incrementUnionWarnings()
    • getUpdateNoneConditionWarnings

      public int getUpdateNoneConditionWarnings()
    • incrementUpdateNoneConditionWarnings

      public void incrementUpdateNoneConditionWarnings()
    • getDeleteNoneConditionWarnings

      public int getDeleteNoneConditionWarnings()
    • incrementDeleteNoneConditionWarnings

      public void incrementDeleteNoneConditionWarnings()
    • getWallUpdateCheckItems

      public List<WallUpdateCheckItem> getWallUpdateCheckItems()
    • setWallUpdateCheckItems

      public void setWallUpdateCheckItems(List<WallUpdateCheckItem> wallUpdateCheckItems)