Package com.alibaba.druid.wall
Class WallContext
java.lang.Object
com.alibaba.druid.wall.WallContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static WallContext
static WallContext
static WallContext
createIfNotExists
(DbType dbType) static WallContext
current()
int
int
int
getTableStat
(String tableName) int
int
int
void
void
void
incrementFunctionInvoke
(String tableName) void
void
void
void
static void
setContext
(WallContext context) void
setSqlStat
(WallSqlStat sqlStat) void
setWallUpdateCheckItems
(List<WallUpdateCheckItem> wallUpdateCheckItems)
-
Constructor Details
-
WallContext
-
WallContext
-
-
Method Details
-
incrementFunctionInvoke
-
getTableStat
-
createIfNotExists
-
create
-
create
-
current
-
clearContext
public static void clearContext() -
setContext
-
getSqlStat
-
setSqlStat
-
getTableStats
-
getFunctionStats
-
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
-
setWallUpdateCheckItems
-