public class DefaultGroupResolver extends Object implements GroupResolver
| 构造器和说明 |
|---|
DefaultGroupResolver() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Group<String> |
doResolve(String expr) |
Cache<Group<String>> |
getCache() |
int |
getMaxExprLength() |
ExprParser.Factory |
getParserFactory() |
boolean |
isEnabled() |
Group<String> |
resolve(String gExpr)
将组表达式解析为 Group 对象
|
void |
setCache(Cache<Group<String>> cache) |
void |
setEnabled(boolean enabled) |
void |
setMaxExprLength(int maxExprLength) |
void |
setParserFactory(ExprParser.Factory parserFactory) |
public Group<String> resolve(String gExpr) throws IllegalParamException
GroupResolverresolve 在接口中 GroupResolvergExpr - 组表达式IllegalParamException - 抛出非法参数异常后将终止 SQL 查询protected Group<String> doResolve(String expr) throws IllegalParamException
public ExprParser.Factory getParserFactory()
getParserFactory 在接口中 GroupResolverpublic void setParserFactory(ExprParser.Factory parserFactory)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getMaxExprLength()
public void setMaxExprLength(int maxExprLength)
Copyright © 2024. All rights reserved.