public class TWhenClauseItem extends TParseTreeNode
TCaseExpression
.
getComparison_expr()
getReturn_expr()
in db2/plsql case statement
getComparison_expr()
getStatement_list()
TCaseExpression
dbvendor, doubleLinkedTokenListToString, nodeActionAppend, nodeActionInsert, nodeActionRemove, nodeActionUnknown, nodeActionUpdate, nodeActionUpdateText, nodeChangeEndToken, nodeChangeStartToken
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, addToTokenChain, appendNewNode, calculateTokenCount, doAppendNewNode, fastSetString, getAnchorNode, getColumnNo, getCommentAfterNode, getCommentBeforeNode, getCompactString, getDummyTag, getEndToken, getEvaluateDatatype, getEvalValue, getGsqlparser, getLineNo, getLocation, getMd5, getNodeStatus, getNodeType, getParentObjectName, getPlainText, getStartToken, getTokenCount, hasNext, init, init, init, init, init, insertAfterAToken, insertNewNodeBeforeMe, isChanged, isTokensInChain, next, refreshAllNodesTokenCount, remove, removeAllMyTokensFromTokenList, removeTokens, removeTokensBetweenNodes, removeTokensBetweenToken, replaceWithNewNode, resetIterator, setAnchorNode, setChanged, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setEndToken, setEndTokenDirectly, setEvaluateDatatype, setEvalValue, setGsqlparser, setIncludingComment, setLocation, setNewSubNode, setNodeStatus, setNodeType, setParent, setPlainText, setStartToken, setStartToken, setStartToken, setStartToken, setStartTokenDirectly, setString, setString2, subNodeInNode, toScript, toString, toString2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public TWhenClauseItem()
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)