public class MySqlCaseStatement extends MySqlStatementImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
MySqlCaseStatement.MySqlWhenStatement
case when statement
|
| Constructor and Description |
|---|
MySqlCaseStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept0(MySqlASTVisitor visitor) |
void |
addWhenStatement(MySqlCaseStatement.MySqlWhenStatement stmt) |
List<SQLObject> |
getChildren() |
SQLExpr |
getCondition() |
SQLIfStatement.Else |
getElseItem() |
List<MySqlCaseStatement.MySqlWhenStatement> |
getWhenList() |
void |
setCondition(SQLExpr condition) |
void |
setElseItem(SQLIfStatement.Else elseItem) |
void |
setWhenList(List<MySqlCaseStatement.MySqlWhenStatement> whenList) |
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getDbType, isAfterSemi, setAfterSemi, toLowerCaseStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic SQLExpr getCondition()
public void setCondition(SQLExpr condition)
public List<MySqlCaseStatement.MySqlWhenStatement> getWhenList()
public void setWhenList(List<MySqlCaseStatement.MySqlWhenStatement> whenList)
public void addWhenStatement(MySqlCaseStatement.MySqlWhenStatement stmt)
public SQLIfStatement.Else getElseItem()
public void setElseItem(SQLIfStatement.Else elseItem)
public void accept0(MySqlASTVisitor visitor)
accept0 in interface MySqlObjectaccept0 in class MySqlStatementImplpublic List<SQLObject> getChildren()
getChildren in interface SQLStatementgetChildren in class MySqlStatementImplCopyright © 2013–2018 Alibaba Group. All rights reserved.