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, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getDbType, isAfterSemi, setAfterSemi
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public 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 MySqlObject
accept0
in class MySqlStatementImpl
public List<SQLObject> getChildren()
getChildren
in interface SQLStatement
getChildren
in class MySqlStatementImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.