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, toStringpublic 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 TParseTreeNodepublic void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNodedoParse in class TParseTreeNodepsql - SQL statement this node belongs toplocation - SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void acceptChildren(TParseTreeVisitor v)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic 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.