public abstract class WallProvider extends Object
构造器和说明 |
---|
WallProvider(WallConfig config) |
限定符和类型 | 方法和说明 |
---|---|
void |
addWhiteSql(String sql) |
List<Violation> |
check(String sql) |
boolean |
checkValid(String sql) |
void |
clearCache() |
abstract ExportParameterVisitor |
createExportParameterVisitor() |
abstract SQLStatementParser |
createParser(String sql) |
abstract WallVisitor |
createWallVisitor() |
static <T> T |
doPrivileged(PrivilegedAction<T> action) |
WallConfig |
getConfig() |
Set<String> |
getWhiteList() |
boolean |
whiteContains(String sql) |
public WallProvider(WallConfig config)
public WallConfig getConfig()
public void addWhiteSql(String sql)
public void clearCache()
public boolean whiteContains(String sql)
public abstract SQLStatementParser createParser(String sql)
public abstract WallVisitor createWallVisitor()
public abstract ExportParameterVisitor createExportParameterVisitor()
public boolean checkValid(String sql)
public static <T> T doPrivileged(PrivilegedAction<T> action)
Copyright © 2012 Alibaba Group. All Rights Reserved.