All Methods Static Methods Instance Methods Abstract Methods Default Methods
| 限定符和类型 |
方法和说明 |
Condition |
addVariable(List<Variable> vars) |
Condition |
addVariable(Variable var) |
Condition |
addVariableBlock(VariableBlock block) |
Condition |
clone() |
String |
datatype() |
void |
datatype(String type) |
ConditionChain |
getContainer()
当前条件所处容器
|
String |
getId() |
Condition.JOIN |
getJoin()
拼接方式
|
default String |
getJoinText() |
default String |
getRunText(boolean connector,
String prefix,
DataRuntime runtime,
Boolean placeholder) |
default String |
getRunText(boolean connector,
String prefix,
DataRuntime runtime,
Boolean placeholder,
Boolean unicode)
运行时文本
|
default String |
getRunText(int lvl,
String prefix,
DataRuntime runtime,
Boolean placeholder) |
String |
getRunText(int lvl,
String prefix,
DataRuntime runtime,
Boolean placeholder,
Boolean unicode) |
default String |
getRunText(String prefix,
DataRuntime runtime,
Boolean placeholder) |
default String |
getRunText(String prefix,
DataRuntime runtime,
Boolean placeholder,
Boolean unicode) |
List<RunValue> |
getRunValues()
运行时参数值
|
Map<String,Object> |
getRunValuesMap() |
Compare.EMPTY_VALUE_SWITCH |
getSwt() |
String |
getTest() |
Variable |
getVariable(String name) |
List<VariableBlock> |
getVariableBlocks() |
List<Variable> |
getVariables() |
int |
getVariableType() |
boolean |
hasContainer() |
default double |
index()
顺序 按升序排列
|
void |
index(double index) |
void |
init()
初始化
|
void |
initRunValue() |
boolean |
integrality()
是否作为一个整体,不可分割,与其他条件合并时以()包围
|
void |
integrality(boolean integrality) |
boolean |
isActive() |
boolean |
isContainer() |
boolean |
isSetValue() |
boolean |
isSetValue(String variable) |
boolean |
isValid() |
boolean |
isVariableSlave()
是否只是用来给变量赋值的
用来给java/xml定义SQL中变量赋值, 本身并不拼接到最终SQL
|
RunPrepare |
prepare() |
Condition |
prepare(RunPrepare prepare) |
void |
setActive(boolean active) |
Condition |
setContainer(ConditionChain chain)
设置当前条件所处容器
|
Condition |
setJoin(Condition.JOIN join) |
Condition |
setRunText(String text)
静态SQL
|
void |
setSwt(Compare.EMPTY_VALUE_SWITCH swt) |
void |
setTest(String test) |
void |
setValid(boolean valid) |
void |
setValue(String key,
Object value) |
void |
setVariableSlave(boolean bol) |
void |
setVariableType(int variableType) |
static void |
sort(List<Condition> configs) |
String |
text()
初始文本
需要解析 其中可能包含占位符 id = ${id}
|
void |
text(String text) |