public class SQLIfStatement extends SQLStatementImpl implements SQLReplaceable
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLIfStatement.Else |
static class |
SQLIfStatement.ElseIf |
| Constructor and Description |
|---|
SQLIfStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept0(SQLASTVisitor visitor) |
void |
addStatement(SQLStatement statement) |
SQLIfStatement |
clone() |
SQLExpr |
getCondition() |
List<SQLIfStatement.ElseIf> |
getElseIfList() |
SQLIfStatement.Else |
getElseItem() |
List<SQLStatement> |
getStatements() |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setCondition(SQLExpr condition) |
void |
setElseItem(SQLIfStatement.Else elseItem) |
getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLIfStatement clone()
clone in interface SQLObjectclone in interface SQLStatementclone in class SQLStatementImplpublic void accept0(SQLASTVisitor visitor)
public SQLExpr getCondition()
public void setCondition(SQLExpr condition)
public List<SQLStatement> getStatements()
public void addStatement(SQLStatement statement)
public List<SQLIfStatement.ElseIf> getElseIfList()
public SQLIfStatement.Else getElseItem()
public void setElseItem(SQLIfStatement.Else elseItem)
public boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceableCopyright © 2013–2020 Alibaba Group. All rights reserved.