public class TWhenClauseItem extends TParseTreeNode
TCaseExpression
.
getComparison_expr()
getReturn_expr()
in db2/plsql case statement
getComparison_expr()
getStatement_list()
TCaseExpression
Constructor and Description |
---|
TWhenClauseItem() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
void |
doParse(TCustomSqlStatement psql,
ESqlClause plocation)
Analyze the sub-nodes inside this node.
|
TExpression |
getComparison_expr() |
TExpressionList |
getConditionList() |
TConstantList |
getCount_fraction_description_list()
teradata: count,fraction description list of sample clause
|
TExpression |
getReturn_expr() |
TStatementList |
getStatement_list() |
void |
init(Object arg1,
Object arg2) |
void |
setComparison_expr(TExpression comparison_expr) |
void |
setConditionList(TExpressionList conditionList) |
void |
setCount_fraction_description_list(TConstantList count_fraction_description_list) |
void |
setReturn_expr(TExpression return_expr) |
void |
setStatement_list(TStatementList statement_list) |
addAllMyTokensToTokenList, appendString, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript, toString
public TExpressionList getConditionList()
public TConstantList getCount_fraction_description_list()
public TExpression getComparison_expr()
public TExpression getReturn_expr()
public TStatementList getStatement_list()
public void init(Object arg1, Object arg2)
init
in class TParseTreeNode
public void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNode
doParse
in class TParseTreeNode
psql
- SQL statement this node belongs toplocation
- SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void setComparison_expr(TExpression comparison_expr)
public void setReturn_expr(TExpression return_expr)
public void setConditionList(TExpressionList conditionList)
public void setCount_fraction_description_list(TConstantList count_fraction_description_list)
public void setStatement_list(TStatementList statement_list)
Copyright © 2019. All rights reserved.