public class Brackets extends QueryCondition
| 限定符和类型 | 字段和说明 |
|---|---|
private QueryCondition |
childCondition |
before, column, connector, effective, logic, LOGIC_BETWEEN, LOGIC_EQUALS, LOGIC_GE, LOGIC_GT, LOGIC_IN, LOGIC_IS_NOT_NULL, LOGIC_IS_NULL, LOGIC_LE, LOGIC_LIKE, LOGIC_LT, LOGIC_NOT_BETWEEN, LOGIC_NOT_EQUALS, LOGIC_NOT_IN, next, value| 构造器和说明 |
|---|
Brackets(QueryCondition childCondition) |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryCondition |
and(QueryCondition nextCondition) |
protected void |
connectToChild(QueryCondition nextCondition,
SqlConnector connector) |
Object |
getValue() |
QueryCondition |
or(QueryCondition nextCondition) |
String |
toSql(List<QueryTable> queryTables,
IDialect dialect) |
String |
toString() |
and, and, appendQuestionMark, checkEffective, connect, create, create, create, createEmpty, getColumn, getEffectiveBefore, getLogic, or, or, setColumn, setLogic, setValue, when, when, whenprivate QueryCondition childCondition
public Brackets(QueryCondition childCondition)
public QueryCondition and(QueryCondition nextCondition)
and 在类中 QueryConditionpublic QueryCondition or(QueryCondition nextCondition)
or 在类中 QueryConditionprotected void connectToChild(QueryCondition nextCondition, SqlConnector connector)
public Object getValue()
getValue 在类中 QueryConditionpublic String toSql(List<QueryTable> queryTables, IDialect dialect)
toSql 在类中 QueryConditionpublic String toString()
toString 在类中 QueryConditionCopyright © 2023. All rights reserved.